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

Fixed how we initialize field resolvers. #3426

Merged
merged 2 commits into from
Apr 5, 2021

Conversation

michaelstaib
Copy link
Member

@michaelstaib michaelstaib commented Apr 5, 2021

The type initialization was registering resolvers early, after the type discovery. With type extensions it is better to move this to the point where we already merged the type extensions with the types. This also helps avoiding collisions.

We need to do a bigger refactoring on type extensions to accommodate for more cases but we will do that with the V12 iteration in order to not break to much behavior.

@michaelstaib michaelstaib self-assigned this Apr 5, 2021
@michaelstaib michaelstaib merged commit 1046b64 into main Apr 5, 2021
@michaelstaib michaelstaib deleted the mst/fix-resolver-initialization branch April 5, 2021 09:31
@sonarcloud
Copy link

sonarcloud bot commented Apr 5, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

91.2% 91.2% Coverage
0.0% 0.0% Duplication

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.

When replacing a member in a resolver, provide the original member value to the resolver
1 participant