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
"Argument "sort" has invalid value {fields: "sort_order"}.↵In field "fields": Expected type "ContentfulPersonConnectionSortByFieldsEnum", found "sort_order"."
Thanks @KyleAMathews that worked like a charm...!! Agree that graphiql should have picked that up. Really getting used to copy/paste queries from graphiql to react components and they should work the same. Thanks again Kyle and great work with gatsby!!
Hey,
dunnow if this problem lies within contentful source plugin or in gatsby graphql but...
I have setup a content type called Person on contentful which has a field called sort_order which lets me sort persons...go figure.
So, running this query in the graphiql editor works fine...it returns the nodes in order.
response:
but if i copy that query into a page...something like:
I get this error:
"Argument "sort" has invalid value {fields: "sort_order"}.↵In field "fields": Expected type "ContentfulPersonConnectionSortByFieldsEnum", found "sort_order"."
Any ideas??
"gatsby-source-contentful": "1.3.7",
"gatsby": "1.8.4"
The text was updated successfully, but these errors were encountered: