Has anyone seen an "unknown argument on field" err...
# orm-help
l
Has anyone seen an "unknown argument on field" error using GraphQL-Yoga? Here's a 1 minute video where I modify the schema, the introspection shows everything, but when the query is run, error. https://cl.ly/0U0R460c2n1F
d
Maybe you have to update your resolver as well? or maybe the underlying (Prisma?) binding does not have this argument?
l
Thanks @divyendu! Here's the whole thing... query through schema and resolver. https://cl.ly/0j23352O0w1H
For anyone playing along at home, it was a naming conflict. Defined in both schema.graphql and datamodel.graphql. I would think that schema.graphql would take precedence
👍 1
d
I think that there is an open issue for this as well