Would FieldResolver overfetch when the field was already populated? #836
-
|
Just a curious about how does Because I created a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Yes, If you can have the value populated in some cases, you can just add |
Beta Was this translation helpful? Give feedback.
Yes,
FieldResolveroverwrites the defaultobject[property]field resolver.If you can have the value populated in some cases, you can just add
if (value) return valuestatement in the field resolver.