Skip to content

GraphiQL v2.4.1 won't run IntrospectionQuery properly #1402

Closed
@sparktx-adam-gleason

Description

@sparktx-adam-gleason
  • What is the current behavior?

GraphiQL update to v2.4.1 won't load properly. Loading up the page gives this error

{
  "errors": [
    {
      "message": "Must provide query string."
    }
  ]
}

Investigating the Network tab shows the IntrospectionQuery is giving a 400 error. I've tested the query against my app using Postman and it works correctly.

Queries against the /graphq/ endpoint using Postman also work.

Just the update to the new interface for GraphiQL seems to break.

Example repo here

  1. Clone repo
  2. pip install requirements
  3. navigate to localhost:8000/graphql/ to see error.
  • What is the expected behavior?

GraphiQL view works properly.

  • Please tell us about your environment:

    • Version: graphene-django==3.0.1
    • Platform: MacOS

NOTE: GraphiQL works fine on graphene-django==3.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions