0no-co / gql.tada

🪄 Magical GraphQL query engine for TypeScript
https://gql-tada.0no.co
MIT License
2.44k stars 34 forks source link

feat(tada): add isOneOf to the introspection type and support query #284

Closed JoviDeCroock closed 2 months ago

JoviDeCroock commented 2 months ago

Summary

Adds support for https://github.com/graphql/graphql-spec/pull/825

When we encounter an input marked as isOneOf: true we need to create a type that is an or of all the properties spelled out in said input-object.

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: e958b8101026f9fa2729d180578e787cbc629684

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR