unlight/prisma-nestjs-graphql

make single fields in *WhereUniqueInput classes required

benkroeger opened this issue ยท 1 comments

I know that Prisma (more precisely this comment) also generates *WhereUniqueInput types with a single optional field - but I think from a developer's perspective - and also from a user's perspective it doesn't make sense to try to find a unique entry with an empty filter.

Are you guys open for marking a single field (meaning the class has only one filed) in *WhereUniqueInput classes not nullable (GraphQL) and required (TypeScript)

๐ŸŽ‰ This issue has been resolved in version 14.3.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€