docs: fix apollo federation console steps

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10018
GitOrigin-RevId: f9c96660cbe69c0c7dcb5ad9c26b7bc01e2bdbe8
This commit is contained in:
Rob Dominguez 2023-08-01 10:47:56 -05:00 committed by hasura-bot
parent 69396a8f64
commit e7c1444010

View File

@ -23,7 +23,7 @@ Hasura GraphQL Engine supports the Apollo Federation v1 spec, so you can add Has
federated gateway. You can also use Hasura generated table types in your other subgraphs by enabling tables for Apollo
Federation explicitly.
:::note Supported from
:::tip Supported from
Apollo Federation is available from Hasura version `v2.10.0` and above.
@ -60,7 +60,7 @@ extending Hasura types with other subgraphs is not possible currently. We recomm
[remote relationships](/remote-schemas/remote-relationships/index.mdx) for extending types from other subgraphs in
Hasura.
:::note Note
:::info Supported types
Other types such as action types, Remote Schema types, etc. cannot be extended to other subgraphs.
@ -69,6 +69,17 @@ Other types such as action types, Remote Schema types, etc. cannot be extended t
<Tabs groupId="user-preference" className="api-tabs">
<TabItem value="console" label="Console">
:::info Prerequisite before enabling Apollo Federation on the Hasura Console
To enable Apollo Federation using the Hasura Console, you'll first need to add `apollo_federation` to the list of
experimental features using the
[`HASURA_GRAPHQL_EXPERIMENTAL_FEATURES` environment variable](/deployment/graphql-engine-flags/reference.mdx/#experimental-features)
array or with the
[server flag `--experimental-feature`](/deployment/graphql-engine-flags/reference.mdx/#experimental-features). You can
learn more about setting these [here](/deployment/graphql-engine-flags/index.mdx/#setting-server-configurations).
:::
Head to the `Data -> [table-name] -> Modify` tab in the Console and toggle the switch in the `Enable Apollo Federation`
section: