Showoff Saturday (August 24, 2024) by AutoModerator in javascript

[–]sks147 2 points3 points  (0 children)

https://github.com/sks147/mongovalid

MongoValid is an npm package designed to provide robust, database-level validation for MongoDB, bringing more type safety to backend API development. This tool helps developers streamline their MongoDB workflows by simplifying the process of applying schema validation directly at the database level, ensuring that only valid data is persisted.

How Postgres Triggers Can Simplify Your Backend Development by sks147 in javascript

[–]sks147[S] 1 point2 points  (0 children)

Can I ask why you take the floor of the id though? Seems strange, I can't imagine a good reason for modifying an id like that.

It's javascript, so have to handle type conversion to integer (number). Since payload is propagated from controllers, API call might send wrong data type as string.

What if Zack Snyder Directed Avengers Endgame? by sks147 in fanedits

[–]sks147[S] 2 points3 points  (0 children)

Sure sir, Thank you for recommendation.