api-platform / api-platform/core
Disabling GraphQL Still Shows Link for Installing GraphIQL
- Linguagem predominante
- PHP
- Estrelas
- 2.6k
- Forks
- 980
- Merge médio
- 2d 5h
- PRs com merge (30d)
- 48
Descrição
**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.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.