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

The built-in union type resolver doesn't consider parent records #18

Closed
jneurock opened this issue Sep 23, 2020 · 0 comments · Fixed by #20
Closed

The built-in union type resolver doesn't consider parent records #18

jneurock opened this issue Sep 23, 2020 · 0 comments · Fixed by #20
Assignees
Labels
bug Something isn't working

Comments

@jneurock
Copy link
Collaborator

When resolving all types except for union types, the library looks for field values on the parent object, if it's passed in to the resolver. This means resolving fields with a union type only works at the upper most query level or just coincidentally.

The union type resolver needs to be updated to consider the optional parent object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant