graphql-python / graphql-python/flask-graphql

which graphiql version is using?

Offen
#85 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
1.3k
Forks
139
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I have `Flask-GraphQL==2.0.1` installed and inside Chrome it is requiring dependencies like
> http://cdn.jsdelivr.net/npm/graphiql@0.11.11/graphiql.min.js
note: currently the latest version in jsdelivr is 1.0.6

however the github readme says
> graphiql_version: The graphiql version to load. __Defaults to "1.0.3".__

reallly? If I set `graphiql_version=1.0.3 ` explicitly, then Chrome throws error
> Uncaught Error: GraphiQL 0.18.0 and after is not compatible with React 15 or below

I did not find anywhere the `render_graphiql.py` set the variable to "1.0.3"
In my local drive is `GRAPHIQL_VERSION = '0.11.11'`;
and gitlab `GRAPHIQL_VERSION = '0.7.1'`

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.