How to get graphql_root_fields value from a serverless-pre-function function ? #10519
Closed
dsanchez31
started this conversation in
General
Replies: 1 comment
-
Ok I found it! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I want to write a function within a serverless-pre-function route plugin that needs to check the graphql_root_fields builtin var (as it is a graphql route).
How can i access the value of graphql_root_fields var ?
I've tried ctx.graphql_root_fields ngx.var.graphql_root_fields but none of them works.
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions