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
This is most likely related to a faulty "meta introspection" I'd suspect. I think we've seen this being caught for another server implementation before.
Essentially, the introspection code in gql.tada operates in two steps instead of one:
it checks compatibility by introspecting meta types ("support query";
it then sends the usual introspection query with some fields enabled/disabled dependent on feature support
If a GraphQL API sends a result for the support query that does not reflect its actual feature support, the query will fail.
Without a reproduction or more details, it's a little unclear though what might be happening in detail here, but the above probably is the cause of this
@kitten
To reproduce this error, I set up a repo and linked it to a sample project in Supabase. You can clone it and check out the errors yourself: https://github.com/ali-shabani/gqltada.
Describe the bug
When I try to generate types from a GraphQL endpoint (Supabase), I keep running into this error:
The GraphQL endpoint is auto-generated by pg_graphql in Supabase. Any idea what’s causing this? 🤔
Reproduction
No response
gql.tada version
gql.tata v1.8.10
Validations
The text was updated successfully, but these errors were encountered: