Skip to content

Would FieldResolver overfetch when the field was already populated? #836

Answered by MichalLytek
Tokenyet asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, FieldResolver overwrites the default object[property] field resolver.

If you can have the value populated in some cases, you can just add if (value) return value statement in the field resolver.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tokenyet
Comment options

Answer selected by Tokenyet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants