Disabling GraphQL Still Shows Link for Installing GraphIQL
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with the api_platform.graphql setting in config/packages/api_platform.yaml and trace how the Other API docs list, including the GraphiQL link, is rendered. Add or update a regression test for GraphQL-disabled configuration. Done means disabling GraphQL removes the GraphiQL link and prevents GraphiQL from being independently exposed.
索引モデルが issue の本文から書いたものです。
説明
API Platform version(s) affected: v4.3.17
Description
In config/packages/api_platform.yaml, I added graphql: false to disable GraphQL support. When I view my site in the browser, there is still a link for GraphiQL in the Other API docs at the bottom of the page. When clicked on, it tells me GraphQL is not enabled.
How to reproduce
api_platform:
graphql: false
Possible Solution
If GraphQL is disabled, do not show the link at all. In fact, if GraphQL is disabled, do nothing with anything related to GraphQL.
Additional Context
This does not make sense to me why if I disable GraphQL the link is shown. Obviously I do not want it, so please take it away. The worst part is that I can disable GraphQL and enable GraphiQL, which makes no sense at all.
- 主要言語
- PHP
- スター
- 2.6k
- フォーク
- 987
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 76
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
api-platform/core のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
api-platform/core#8665 ·
メンテナーはふだん 1 日以内に返信
-
Doctrine\Orm\OrderExtension fails on SortDirection対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
api-platform/core#8660 ·
メンテナーはふだん 1 日以内に返信
-
DeserializeProvider calls PartialDenormalizationException::getErrors(), deprecated in Symfony 8.1対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
api-platform/core#8650 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
api-platform/core#8649 ·
メンテナーはふだん 1 日以内に返信
-
`OrderExtension` and `OrderFilter` pass string sort directions, deprecated since `doctrine/orm` 3.7オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
api-platform/core#8648 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
api-platform/core の issue をすべて見る
似ている issue
-
needs-triage Platform(Default)
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
[Store] RstLoader detects headings inside indented code blocks対応中かも @lazerg が今日担当しました。 オープンBug Status: Needs Review Store
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug repo:ckeditor
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
No Code Attached Yet
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
joomla/joomla-cms#48611 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信