Replies: 1 comment 1 reply
-
It checks if queried field has custom (user defined) resolver set on it. Please note that it runs not only We trace only custom resolvers for performance reasons: many tracing calls can add up on larger result sets, and custom resolvers are ones most likely to matter for performance. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can anyone confirm that this line is kind of a proxy check if it's a default resolver or not. To me it seems it just checks if there is a resolver set for that field. If not then we can assume it is a default resolver there obviously because that segment of the field is still being resolved and run. So why two separate checks one with the line and another with
is_default_resolver(resolver)
. I feel that line should be part of theis_default_resolver
functionBeta Was this translation helpful? Give feedback.
All reactions