Skip to content

Add oneOf blog post#2011

Merged
martinbonnin merged 12 commits into
sourcefrom
oneof-post
Sep 4, 2025
Merged

Add oneOf blog post#2011
martinbonnin merged 12 commits into
sourcefrom
oneof-post

Conversation

@benjie
Copy link
Copy Markdown
Member

@benjie benjie commented Jun 6, 2025

I'd like to publish this once it is merged to the spec.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
graphql-github-io Ready Ready Preview Comment Sep 4, 2025 2:11pm

Comment thread src/pages/blog/2025-06-19-multioption-inputs-with-oneof/index.mdx Outdated
Comment thread src/pages/blog/2025-06-19-multioption-inputs-with-oneof/index.mdx Outdated
Comment thread src/pages/blog/2025-06-19-multioption-inputs-with-oneof/index.mdx Outdated
Comment on lines +129 to +136
`@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!
Copy link
Copy Markdown
Member Author

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!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @patrick91 and @spawnia; fancy adding suggestions in the style of the others (i.e. with version numbers)? For GraphQL Core, do GraphQL Core (python) or similar to make it clear to readers.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So does Yoga and Hive Gateway!

Copy link
Copy Markdown
Member Author

@benjie benjie Jul 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @enisdenjo! I'm currently only listing GraphQL implementations otherwise the list would get too long! Most things that consumes one of these implementations should support @oneOf by extension.

Comment thread src/pages/blog/2025-06-19-multioption-inputs-with-oneof/index.mdx
Co-authored-by: Patrick Arminio <patrick.arminio@gmail.com>
Comment thread src/pages/blog/2025-06-19-multioption-inputs-with-oneof/index.mdx Outdated
Co-authored-by: Benedikt Franke <benedikt@franke.tech>
@martinbonnin
Copy link
Copy Markdown
Contributor

Looks like it's time to publish this ^^

@benjie benjie marked this pull request as ready for review September 4, 2025 14:06
@benjie
Copy link
Copy Markdown
Member Author

benjie commented Sep 4, 2025

@martinbonnin Feel free to smash that merge button 😉

@martinbonnin
Copy link
Copy Markdown
Contributor

Let's goooo 🚀

@martinbonnin martinbonnin merged commit b600a58 into source Sep 4, 2025
4 checks passed
@martinbonnin martinbonnin deleted the oneof-post branch September 4, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants