make single fields in *WhereUniqueInput classes required
benkroeger opened this issue ยท 1 comments
benkroeger commented
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)
unlight commented
๐ This issue has been resolved in version 14.3.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐