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

Fix handling of concrete type data fetchers for interface fields. #1693

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

srinivasankavitha
Copy link
Contributor

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe):

Changes in this PR

Describe the new behavior from this PR, and why it's needed
This PR fixes handling of data fetchers for an interface field that override the base type data fetcher. The updated example shows the scenario that triggers the problem where the base type's data fetcher may overwrite the registration of the concrete type's data fetcher depending on the order in which the DgsComponents are processed.

@srinivasankavitha srinivasankavitha merged commit c022e61 into master Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants