I’ve been struggling with an issue with my schema that contains arrays of arrays. While the schema validates, I always get an error Cannot query field \"events\" on type \"MyFieldType".
Hi @Gareth_Davies, welcome to the community.
Querying arrays of arrays using the Atlas GraphQL API is not supported as of now. We already have a feature request logged in for this. Please upvote the same if you’d like to have this in our GraphQL API.
However, for now you can create a custom resolver to achieve the same that resolves the request to an array you expect.
Here’s a step-by-step tutorial that elaborates the complete process of creating a custom resolver:
If you have any doubts, please feel free to reach out to us.