Skip to content

Commit

Permalink
Fixed typos in the schema federation docs. (ChilliCream#4544)
Browse files Browse the repository at this point in the history
  • Loading branch information
yohosuff authored Dec 13, 2021
1 parent 41d3c1e commit a407187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/docs/hotchocolate/distributed-schema/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type Address {
In the scenario of schema stitching, the configuration of the gateway schema is on the gateway itself.
The gateway pulls the schema from the downstream services and can be extended with SDL.
The benefit of this approach is that no configuration on the downstream services is needed.
With this approach, it is possible to also stitch thrid party GraphQL services.
With this approach, it is possible to also stitch third party GraphQL services.

Gateway:

Expand All @@ -86,7 +86,7 @@ graph TD;
The major difference between schema federation and schema stitching is where the extensions are stored.
In the federated approach, the schema extensions are defined on the federated service.
The domain services push the schema on a cache (like Redis).
The gateway is subscribed to changed from this cache and can hot reload the schema if the configuration of a domain service changes.
The gateway is subscribed to changes from this cache and can hot reload the schema if the configuration of a domain service changes.
It is also possible to set up federations in a pull setup.
In this setup, the downstream services expose a field on their schema to fetch the stitching information.
The gateway then fetches the federation information from the downstream service on startup.
Expand Down

0 comments on commit a407187

Please sign in to comment.