Skip to content

Commit

Permalink
add Enable federation section in federation doc
Browse files Browse the repository at this point in the history
  • Loading branch information
86 committed Mar 8, 2020
1 parent a538119 commit 94701fb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/content/recipes/federation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ menu: { main: { parent: 'recipes' } }
In this quick guide we are going to implement the example [Apollo Federation](https://www.apollographql.com/docs/apollo-server/federation/introduction/)
server in gqlgen. You can find the finished result in the [examples directory](https://github.com/99designs/gqlgen/tree/master/example/federation).

## Enable federation

Uncomment federation configuration in your `gqlgen.yml`

```yml
# Uncomment to enable federation
federation:
filename: graph/generated/federation.go
package: generated
```
## Create the federated servers
Expand Down

0 comments on commit 94701fb

Please sign in to comment.