Skip to content

Allow importing of GraphQL schemas using a URL #6719

@galvesribeiro

Description

@galvesribeiro

After the kind comment here and the thread being locked, I've decided to open this issue as I know other people is waiting for proper GraphQL support like myself.

Is your feature request related to a problem? Please describe.

  1. The current GraphQL support rely on people having to describe the schema on the API tabs but doesn't allow people to import the schema using the introspection endpoint, which is how everyone else does the schema import on their tools as the introspection endpoint was designed for that.
  2. The auto-complete/intellisense on the request using that "imported" schema, expect people to know before hand the fields or to be reading the schema elsewhere which beats the purpose of import the schema.

Describe the solution you'd like

  1. On the API tab, when adding a new API, click on "Add schema" would give you an option "Import from URL" which would take an endpoint URL to GraphQL so introspection can be used. In fact, it could expect any OpenAPI schema as well, but that is for another feature request.
  2. Whenever I press ctr/cmd+space, we want the list of fields for that given context. Just like any other tools have.

Additional context
Check how Insomnia, GraphiQL or GraphQL Playground. They are enough to make postman customers happy. Simple and direct to the point.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions