-
Hello. Any ideas on how I can reliably check if a field is a top-level field in a resolver? Preferably using the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
graphql-php/src/Type/Definition/ResolveInfo.php Lines 57 to 62 in e411398 Use |
Beta Was this translation helpful? Give feedback.
-
count($this->info->path) === 1 |
Beta Was this translation helpful? Give feedback.
count($this->info->path) === 1