Skip to content
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

Support OneOf on Input Objects #1068

Open
Tehnix opened this issue Oct 20, 2023 · 1 comment
Open

Support OneOf on Input Objects #1068

Tehnix opened this issue Oct 20, 2023 · 1 comment

Comments

@Tehnix
Copy link

Tehnix commented Oct 20, 2023

It seems oneOf has largely been accepted, and many GraphQL libraries have either started implementation or already rolled it out graphql/graphql-spec#825.

Is there any interest in Sangria supporting this, and would there be any technical blockers for it?

At $work we have had several cases where support for this would have made the resulting API better and more intuitive.

For inspiration, there's ongoing work in caliban here ghostdogpr/caliban#1846.

@yanns
Copy link
Contributor

yanns commented Oct 22, 2023

Yes, this can be interesting.
I don't think I'll have time to work on it in the next weeks though.

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

No branches or pull requests

2 participants