Matheus Assis
11/05/2020, 2:38 PMprisma plugin
, why is the "array" queries allow for more filtering instead of only filtering by the indexes, where as the "single" queries do not.
Is there something I can do, a setting, on either nexus schema, plugin prisma or prisma itself to allow that?
Look at how the people query allow for more filtering, where the person does notRyan
11/05/2020, 2:46 PMid
or something unique, which is why you cannot add extra filtering options. In this case you would either need to use the defaults provided by Nexus i.e. passing unique params or creating a custom resolver.
I would also suggest creating a feature request for the same here.Matheus Assis
11/05/2020, 2:53 PMperson
by its slug(which is unique) and if isPublished
is true, isPublished
is not unique so it doesn't allow me to do thatMatheus Assis
11/05/2020, 2:53 PMRyan
11/05/2020, 3:03 PMMatheus Assis
11/09/2020, 4:58 PM