sanity-shopify-studio
sanity-shopify-studio copied to clipboard
Encountered anonymous inline object
Getting loads of errors with this data model when deploying GraphQL
Error: Encountered anonymous inline object "x" for field/type "y". To use this field with GraphQL you will need to create a top-level schema type for it. See https://docs.sanity.io/help/schema-lift-anonymous-object-type
I'm a Sanity beginner but it seems to me that some of the objects that it errors are already top level. For instance, all "module.x"
Having the same issue when deploying GraphQL and was also confused as it seems they are already top level. Did you end up finding a solution for this?