Skip to content

Make querying isOneOf optional in Introspection query #1737

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 24, 2025

Conversation

spawnia
Copy link
Collaborator

@spawnia spawnia commented Jul 24, 2025

Including it by default makes introspection fail on servers that do not support it:

Cannot query field "isOneOf" on type "__Type".

Thus, I added a configuration option typeIsOneOf which works analogous to directiveIsRepeatable.

spawnia added 2 commits July 24, 2025 10:14
Including it by default makes introspection fail on servers that do not support it:

```
Cannot query field "isOneOf" on type "__Type".
```

Thus, I added a configuration option `typeIsOneOf` which works analogous to `directiveIsRepeatable`.
@spawnia spawnia merged commit 8404965 into master Jul 24, 2025
15 checks passed
@spawnia spawnia deleted the introspection-optional-is-one-of branch July 24, 2025 08:17
@spawnia
Copy link
Collaborator Author

spawnia commented Jul 24, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant