0no-co / gql.tada

🪄 Magical GraphQL query engine for TypeScript
https://gql-tada.0no.co
MIT License
2.44k stars 34 forks source link

fix(internal): Allow determine GraphQL support from introspection result #317

Closed kitten closed 3 weeks ago

kitten commented 3 weeks ago

Resolves #316

Summary

This allows GraphQL support to be determined from an introspection result. This is a suboptimal path as we potentially do two introspections on a first introspection request. However, this isn't much different from what we did before, which included running assuming full support then falling back to no support of features.

Set of changes

changeset-bot[bot] commented 3 weeks ago

🦋 Changeset detected

Latest commit: a30626b0c3302900eaf38e1f1c8a7b3672143551

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR