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

Use discriminator and mapping object for resolveType in GraphQL union types #361

Open
Alan-Cha opened this issue Feb 19, 2021 · 0 comments · May be fixed by #383
Open

Use discriminator and mapping object for resolveType in GraphQL union types #361

Alan-Cha opened this issue Feb 19, 2021 · 0 comments · May be fixed by #383
Labels
enhancement New feature or request

Comments

@Alan-Cha
Copy link
Collaborator

Discriminator and mapping objects are used to distinguish between different schemas utilized in oneOf or anyOf. This can be incorporated into the resolveType function used to distinguish member types in GraphQL union types.

@Alan-Cha Alan-Cha added the enhancement New feature or request label Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant