mongoose-zod icon indicating copy to clipboard operation
mongoose-zod copied to clipboard

A library which allows to author mongoose ("a MongoDB object modeling tool") schemas using zod ("a TypeScript-first schema declaration and validation library").

Results 5 mongoose-zod issues
Sort by recently updated
recently updated
newest added

This PR: - Fixes this error I kept getting with Webpack by changing the function to use just the `import.meta.url` rather than `import.meta` ``` Critical dependency: Accessing import.meta directly is...

Hello! Anyone knows how to create the Swagger api descriptions from the zod schema (or from the mongoose schema)? Any info will be appreciated.

I tried the basic example but types are not recognized. Using Node 18 mongoose-zod: 0.1.1 mongoose: 6.6.5 zod 3.22.4 ```TypeScript export const zodSchema = z .object({ tenantId: z.string(), // make...

I want to thank you for this great work; I ran into trouble using this code. I used `ts-node-dev` and tried configuring my tsconfig and adding ESM support - output...

Hi I'm new to Mongoose and thought I try to use mongoose-zod, as it looks pretty nice :D However, npm is reporting only version 6 of Mongoose is supported. Is...

question