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 GraphQL oneOf input directives in AppSync? #342

Open
AlanSl opened this issue Jan 3, 2024 · 2 comments
Open

Support GraphQL oneOf input directives in AppSync? #342

AlanSl opened this issue Jan 3, 2024 · 2 comments

Comments

@AlanSl
Copy link

AlanSl commented Jan 3, 2024

Are there any current plans to support the new GraphQL oneOf directives for input objects in AppSync?

Some other GraphQL libraries are starting to roll out support for these, e.g. support appears to be implemented in Apollo's kotlin client. They're very useful for typing queries where inputs have mutually-exclusive and/or dependently-required optional properties, since union types are not and it seems will not be supported for inputs.

It looks like there's something of a consensus forming around oneOf, so it'd be great to have an issue we can follow regarding support in AppSync.

@runningrandall
Copy link

+1 and following this issue

@krg-digital
Copy link

Has this issue been reviewed and/or are there any plans to support the oneOf input directive?

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

3 participants