Replies: 1 comment 2 replies
-
Check out
Have a read of https://www.graphql-java.com/blog/deep-dive-merged-fields to learn why you cant just navigate AST elements |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to obtain specific directives of all fields in a custom ExecutionStrategy before I execute the query. This would be used to deduce if a query is cacheable, and if we should even consider checking the cache.
Directive looks like this:
I tried a few things in the
execute
function using the providedparameters: ExecutionStrategyParameters
.parentType
is tied to the execution and is not on field leve.Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions