Skip to content

Commit c50446f

Browse files
committed
pass along query operationName in graphiql (#5)
1 parent bc84feb commit c50446f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/components/Explorer/Explorer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export default class Explorer extends Component {
9797

9898
return createPromise(
9999
"window.__APOLLO_CLIENT__.makeGraphiqlQuery(" + JSON.stringify({
100+
operationName: graphQLParams.operationName,
100101
query: parse(graphQLParams.query),
101102
variables: graphQLParams.variables,
102103
}) + ", " + noFetch + ")"

extension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.2",
2+
"version": "1.0.3",
33
"name": "Apollo Client Developer Tools",
44
"short_name": "Apollo DevTools",
55

0 commit comments

Comments
 (0)