graphql-python / graphql-python/flask-graphql

which graphiql version is using?

未關閉
#85 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
1.3k
分支
139
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

先檢查 render_graphiql.py,並將 GRAPHIQL_VERSION 的值與 README 中對 graphiql_version 的文件說明,以及 issue 中回報的 CDN URL 進行比較。確認 Chrome 中載入的是哪些 GraphiQL 與 React 版本,接著讓文件記載的預設值與實際依賴一致,並確認瀏覽器錯誤已解決。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
flask, python, react
領域
backend, frontend
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。