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

fix: federation flag description #524

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/apollo-federation-subgraph.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Please, note that you don't need to specify the `@key` directive manually when d

## Enable federation in the Tailcall config

Federation is controlled by the flag [`enableFederation`](./directives.md#enablefederation). In case you've added the entity resolvers on the previous step then federation compatibility will be enabled even without the flag.
Federation is controlled by the flag [`enableFederation`](./directives.md#enablefederation). Define it with `true` value to enable federation support.

## Register your subgraph

Expand Down
2 changes: 1 addition & 1 deletion docs/directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -1718,7 +1718,7 @@ In this example, the GraphQL endpoint is changed to `/tailcall-gql` and the stat

### enableFederation

A boolean flag, if set to `true` the Tailcall server will additionally act as federation subgraph. If set to `false` federation compatibility will be forcefully disabled. If flag is not set the federation compatibility is enabled automatically if any entity resolver is defined and disabled otherwise.
A boolean flag, if set to `true` the Tailcall server will additionally act as federation subgraph. By default, it's disabled.

```graphql showLineNumbers
schema @server(enableFederation: true)
Expand Down
Loading