Skip to content

Run subscriptions like queries with IDE plugins #5745

Closed
@damianpetla

Description

@damianpetla

Use case

Right now we cannot run subscriptions with IDE plugin. It returns error

{
  "errors": [
    {
      "message": "subscriptions are not supported over HTTP, use websockets instead",
      "extensions": {
        "path": "$",
        "code": "unexpected-payload"
      }
    }
  ]
}

Every time I need to test it I manually change it to query and then run.

Describe the solution you'd like

Would be nice if plugin could call it like query under the hood, maybe with some warning saying it was transformed to query on the fly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions