amplication / amplication/amplication

Enable GraphQL Playground and introspection on Plugin API and other services

Đang mở
#7,955 1 bình luận 0 reaction 1 người được giao Được giao cho @levivannoort Xem trên GitHub
type: feature request
Ngôn ngữ chính
TypeScript
Star
16k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Feature description

Currently, our services do not enable the graphql playground and instrospection on the different services.
It is a common security best practice to disable the playground and introspection features on API, but since our API is public and its code is open-source - we do not actually reveal anything new by enabling introspections and playground.

see this for more opinions about this dilemma
https://www.apollographql.com/blog/why-you-should-disable-graphql-introspection-in-production

We can also consider enabling just the introspection and use tools like this for the playground
https://studio.apollographql.com/sandbox/explorer

if for any reason, we prefer not to enable the introspection on prod, we can consider doing it on staging or sandbox

### Use case

while working on clients for the API, it is very helpful to be able to build and test to queries on the playground

### Are you willing to submit PR?

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.