Hi all, just a small one:
The line
|
operationName=request_data.operation_name, |
creates the context with
operationName but the template
|
operationName: {{operation_name}}, |
expects
operation_name. Probably
request_data.to_template_context() is meant to be used which does use
operation_name:
|
"operation_name": tojson(self.operation_name), |
Thanks!
Hi all, just a small one:
The line
graphql-server/src/graphql_server/flask/views.py
Line 145 in 2d5ac95
operationNamebut the templategraphql-server/src/graphql_server/static/graphiql.html
Line 199 in 2d5ac95
operation_name. Probablyrequest_data.to_template_context()is meant to be used which does useoperation_name:graphql-server/src/graphql_server/http/__init__.py
Line 74 in 2d5ac95
Thanks!