From f85b148f8639c257db78851f623a4ad5e3390b11 Mon Sep 17 00:00:00 2001 From: meskill <8974488+meskill@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:44:31 +0000 Subject: [PATCH] fix: federation flag description --- docs/apollo-federation-subgraph.md | 2 +- docs/directives.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/apollo-federation-subgraph.md b/docs/apollo-federation-subgraph.md index 6eadc991a4..c95fb9551f 100644 --- a/docs/apollo-federation-subgraph.md +++ b/docs/apollo-federation-subgraph.md @@ -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 diff --git a/docs/directives.md b/docs/directives.md index de748da4c1..924480b471 100644 --- a/docs/directives.md +++ b/docs/directives.md @@ -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)