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 used gqlfetch to get the shopify graphql schema at https://%s.myshopify.com/admin/api/2023-10/graphql.json (where %s is the name of your own shopify sites graphql api).
I attached it as a gist since its huge (1.6MB of text).
When using a khan/genqlient to generate Go code from this schema I get this error many times:
schema.graphql:548: invalid schema: For AppInstallation to implement HasMetafields any additional arguments on metafield must be optional or have a default value but key is required.
I am not sure if this is a issue related to the underlying schema or the way gqlfetch interprets it.
The text was updated successfully, but these errors were encountered:
Not a very helpful comment, but this started happening only with Shopify schema version 2024-10 as it worked fine until 2024-07. But when building the schema with buildclientschema from graphql-js, genqlient has no problems.
I used gqlfetch to get the shopify graphql schema at
https://%s.myshopify.com/admin/api/2023-10/graphql.json
(where%s
is the name of your own shopify sites graphql api).I attached it as a gist since its huge (1.6MB of text).
https://gist.github.com/codeliger/a4f16328a928ae1b151acfeea9ff61e6
When using a khan/genqlient to generate Go code from this schema I get this error many times:
I am not sure if this is a issue related to the underlying schema or the way gqlfetch interprets it.
The text was updated successfully, but these errors were encountered: