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

Expose ResolverMember on IObjectField #3567

Merged
merged 3 commits into from
Apr 22, 2021
Merged

Conversation

michaelstaib
Copy link
Member

@michaelstaib michaelstaib commented Apr 22, 2021

We now have two members exposed on the IObjectField.

  • Member
    The actual member of the runtime type. This can be used for projections.
  • ResolverMember
    The member of which the resolver is compiled. The ResolverMember is equal to the Member if no extension is applied.

Member is null if this field is not bound to any runtime type member or if the runtime type is object.
ResolverMember can be null if Member is null. But it also can be set when the Member property is null in the case that we have a member from which we compiled the resolver that still has non representation on the runtime type.

@michaelstaib michaelstaib self-assigned this Apr 22, 2021
@michaelstaib michaelstaib merged commit 07e1f33 into main Apr 22, 2021
@michaelstaib michaelstaib deleted the mst/expose-resolver-member branch April 22, 2021 10:10
@sonarcloud
Copy link

sonarcloud bot commented Apr 22, 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

86.4% 86.4% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant