prisma-joi-generator icon indicating copy to clipboard operation
prisma-joi-generator copied to clipboard

Prisma 2+ generator to emit Joi schemas from your Prisma schema

Results 5 prisma-joi-generator issues
Sort by recently updated
recently updated
newest added

## Problem Got this error on NestJS with Prisma v5 and latest version of prisma-joi-generator : ``` /home/.../api/src/generated/validation/schemas/enums/QueryMode.schema.ts:3 export const QueryModeSchema = Joi.string().valid(...["default","insensitive"]) ^ TypeError: Cannot read properties of undefined...

Hello, thank you for the library. Do you plan to support return types?

## Problem I need the ability to turn on or off specific generated Joi files. For example, `*Upsert*` and `*Unchecked*` I will never use. These files just create added files...

## Problem I am using the prisma-joi-generator to create Joi validator objects automatically and import them into my Koa.js project. I then use the Joi object to validate my API...

Thanks for your work, I've been looking for a way to have one source of truth for both frontend and backend validation from Prisma and this looks very promising! Would...

enhancement