-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add oneOf blog post #2011
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
base: source
Are you sure you want to change the base?
Add oneOf blog post #2011
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
src/pages/blog/2025-06-19-multioption-inputs-with-oneof/index.mdx
Outdated
Show resolved
Hide resolved
src/pages/blog/2025-06-19-multioption-inputs-with-oneof/index.mdx
Outdated
Show resolved
Hide resolved
src/pages/blog/2025-06-19-multioption-inputs-with-oneof/index.mdx
Outdated
Show resolved
Hide resolved
`@oneOf` is already available in the following implementations of GraphQL: | ||
|
||
- GraphQL.js v16+ | ||
- GraphQL Ruby v2.0.21+ | ||
- GraphQL.NET v8+ | ||
- GraphQL Java v21.2+ | ||
- HotChocolate v16.0.0+ | ||
- Probably others! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@graphql/implementers If you already support @oneOf
, please let me know!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://strawberry.rocks/docs/types/input-types#one-of-input-types we support it :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GraphQL core does too https://github.com/graphql-python/graphql-core
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We just added support to https://github.com/webonyx/graphql-php.
I'd like to publish this once it is merged to the spec.