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.

Name "__debug" must not begin with "__", In a future release of graphql this will become a hard error.

See original GitHub issue

it’s popped from graphiql graphiql.min.js:1 Name "__debug" must not begin with "__", which is reserved by GraphQL introspection. In a future release of graphql this will become a hard error.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dulmandakhcommented, May 20, 2019
0reactions
portedisoncommented, Dec 3, 2021

I’m trying to integrate graphene==2.1.9 with graphql-code-generator, and had this same issue.

Error: Name __debug must not begin with __, which is reserved by GraphQL introspection. at assertValidSchema (/Users/Code/app/node_modules/graphql/type/validate.js:59:11)

path(‘graphql’, csrf_exempt(GraphQLView.as_view())),

GRAPHENE[‘MIDDLEWARE’] = GRAPHENE[‘MIDDLEWARE’] +
[“graphene_django.debug.DjangoDebugMiddleware”, ]

overwrite: true schema: “http://127.0.0.1:8000/graphql” generates: src/generated/graphql.tsx: plugins: - “typescript” - “typescript-operations” - “typescript-react-apollo” ./graphql.schema.json: plugins: - “introspection”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error handling - Apollo GraphQL Docs
This occurs when a request containing multiple named operations doesn't specify which operation to run (i.e., operationName ), or if the named operation...
Read more >
GraphQL specification
This is the specification for GraphQL, a query language and execution engine originally created at Facebook in 2012 for describing the capabilities and ......
Read more >
Error Handling in GraphQL With Spring Boot - Baeldung
A practical guide to GraphQL error handling with Spring Boot. ... has not begun, which means the data section in the response must...
Read more >
Handling GraphQL errors like a champ with unions and ...
Error handling can be frustrating in GraphQL. ... context) => { throw new Error( "Name for character with ID 1002 could not be...
Read more >
Creating a GraphQL Server with Apollo
Resolvers are functions that are invoked to handle queries from the user. Debugging, when we start our server we can do so in...
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