aws / aws-appsync-community

The AWS AppSync community
https://aws.amazon.com/appsync
Apache License 2.0
506 stars 32 forks source link

Support GraphQL `oneOf` input directives in AppSync? #342

Open AlanSl opened 10 months ago

AlanSl commented 10 months ago

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 commented 7 months ago

+1 and following this issue

krg-digital commented 4 months ago

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