You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the plural crud query for one of my object types exposed as a query type in Nexus, and I added filtering to it, two of which were 'OR' and 'AND', however, I'm getting the warning "Your GraphQL Query object definition is projecting a relational field knockouts. On it, you are declaring that clients be able to filter by Prisma Knockout model field OR. However, your Prisma model Knockout model has no such field OR", ditto for 'AND', and was wondering how I'm supposed to expose 'OR' or 'AND' on my object type (which is just exposing model fields) then?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have the plural crud query for one of my object types exposed as a query type in Nexus, and I added filtering to it, two of which were 'OR' and 'AND', however, I'm getting the warning "Your GraphQL
Query
object definition is projecting a relational fieldknockouts
. On it, you are declaring that clients be able to filter by PrismaKnockout
model fieldOR
. However, your Prisma modelKnockout
model has no such fieldOR
", ditto for 'AND', and was wondering how I'm supposed to expose 'OR' or 'AND' on my object type (which is just exposing model fields) then?Beta Was this translation helpful? Give feedback.
All reactions