Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(docs): add showcase to @server operator #101

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/operators/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,14 @@ schema @server(
)
```

## showcase

Enables the `/showcase/graphql` endpoint. This allows anyone to run arbitrary GraphQL schemas by passing a URL in the `config` query param.

```graphql showLineNumbers
schema @server(showcase: true)
```

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you write a bit more about this feature? I don't think how one could use this feature is very clear from this note.

### Trade-offs

Batching can improve performance but may introduce latency if one request in the batch takes longer. It also makes network traffic debugging harder.
Loading