Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

kitten
Copy link
Member

@kitten kitten commented Jun 12, 2024

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

  • Add deriving support from full introspection result to URL loader

@kitten kitten requested a review from JoviDeCroock June 12, 2024 09:22
Copy link

changeset-bot bot commented Jun 12, 2024

🦋 Changeset detected

Latest commit: a30626b

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

@kitten kitten merged commit 8c71261 into main Jun 12, 2024
2 checks passed
@kitten kitten deleted the fix/introspection-support-fallback branch June 12, 2024 09:45
@github-actions github-actions bot mentioned this pull request Jun 12, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

generate throw Cannot query field 'isOneOf'
2 participants