graphql-python / graphql-python/flask-graphql

Separate endpoint for GraphiQL

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

描述

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.

貢獻指南

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

研究方向

先從 README 的使用部分開始,比較文件中說明的 /graphql 和 /graphiql 端點,然後追蹤目前單一端點在 Flask 整合中的設定位置。當 GraphQL 和 GraphiQL 可以分別公開,且 GraphiQL 可以依要求獨立受到保護或限制時,即表示完成。

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

評估

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

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

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