Merge pull request #37 from bcb/master

Display variables as JSON in GraphiQL
This commit is contained in:
Syrus Akbary 2016-11-01 08:19:04 -07:00 committed by GitHub
commit 2665d7329a

View File

@ -131,7 +131,7 @@ class GraphQLView(View):
request,
graphiql_version=self.graphiql_version,
query=query or '',
variables=variables or '',
variables=json.dumps(variables) or '',
operation_name=operation_name or '',
result=result or ''
)