Skip to content

make single fields in *WhereUniqueInput classes required #58

Closed
@benkroeger

Description

@benkroeger

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions