dsanchez31 opened a new issue, #10523:
URL: https://github.com/apache/apisix/issues/10523

   ### Description
   
   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 !
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.6.0
   - Operating system (run `uname -a`): Linux apisix-ddbcf45b-l8h8v 
4.18.0-477.13.1.el8_8.x86_64
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx 
version: openresty/1.21.4.2
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to