graphql-python / graphql-python/flask-graphql

Separate endpoint for GraphiQL

Offen
#41 4 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
1.3k
Forks
139
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi,
wouldn't it make sense to have separate endpoints for GraphQL and GraphiQL? As per [README](https://github.com/graphql-python/flask-graphql#usage), there should be two endpoints (`/graphql` and `/graphiql`), however only `/graphql` gets exposed. Let's say I would like to publish GraphiQL only to selected group of people (e.g. frontend developers) and protect it by authentication. Having a separate endpoint would make whole thing much easier.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.