graphql-nexus / nexus-plugin-prisma

Deprecated
MIT License
828 stars 118 forks source link

Easily filter for multiple Enums #552

Open BjoernRave opened 4 years ago

BjoernRave commented 4 years ago

For string fields, you can filter with type: {in: [...]} filter for multiple values, but if type is an Enum you have to repeatedly use OR: {...} AFAIK. Would be great to be able to filter as easily for multiple values with enums as you can with strings

malekjaroslav commented 4 years ago

Related: https://github.com/prisma/prisma2/issues/955