question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GraphQL Explorer Plugin throwing error

See original GitHub issue

I have added GraphQL Explorer Plugin, following the same steps in the readme here and the examples: https://github.com/graphql/graphiql/tree/main/packages/graphiql-plugin-explorer

The plugin button shows up but when i click it, i get this error: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them

Is there anything I’m missing, has anyone else come across this?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
faizan-siddiquicommented, Sep 24, 2022

Seems to work for me now, the issue was I was using "graphiql": "2.0.3" instead of "graphiql": "2.0.7"

1reaction
AndKielcommented, Sep 23, 2022

My other issue was resolved by rewriting components to use GraphiQLProvider + GraphiQLInterface with useEditorContext. My mistake was trying to keep my own state management instead of relying on your context and query/variable editor.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error handling - Apollo GraphQL Docs
Throwing errors ​​ Apollo Server throws errors automatically when applicable. For example, it throws a GRAPHQL_VALIDATION_FAILED error whenever an incoming ...
Read more >
graphql - Why am I unable to get any organization repositories ...
Testing my query I went to Github's GraphQL API and built: ... error "gatsby-source-github-api" threw an error while running the sourceNodes ...
Read more >
GraphQL error handling to the max with Typescript, codegen ...
Implementing Union Types Based Error Handling​​ If something fails during the execution, we can: throw an Error and use the default GraphQL error...
Read more >
Five basic things I've learned using GraphQL in Drupal
You can use some plugins for IDEs too, like the graphiql-explorer for ... $node_storage->loadMultiple($node_ids); } catch (\Exception $e) ...
Read more >
Spring for GraphQL Documentation
Once the JSON body has been successfully decoded, the HTTP response status is always 200 (OK), and any errors from GraphQL request execution ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found