graphql-python / graphql-python/flask-graphql

which graphiql version is using?

Aberta
#85 2 comentários 1 reação 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
1.3k
Forks
139
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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'`

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Start by inspecting render_graphiql.py and comparing its GRAPHIQL_VERSION value with the README's graphiql_version documentation and the CDN URL reported in the issue. Verify which GraphiQL and React versions are loaded in Chrome, then make the documented default and actual dependency consistent and confirm the browser error is resolved.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
flask, python, react
Domínio
backend, frontend
Tipo de issue
Bug
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.