Might be worth implementing this upcoming feature, unions are not allowed in input types and this is a good alternative to that, also should be easy to implement in code π
https://stepzen.com/blog/coming-soon-to-graphql-the-oneof-input-object
It's also been implemented in other libraries, for example async GraphQL (a rust library)
From: https://github.com/strawberry-graphql/strawberry/discussions/2420#discussioncomment-4499708
The specs: https://github.com/graphql/graphql-spec/pull/825/files
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too