Skip to content

Commit

Permalink
docs(readme): add link to new federation example
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalLytek committed Jan 11, 2023
1 parent 231a8b9 commit 22fccc4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,14 @@ You can see some examples of the integration in this repo:

Usage of class-based middlewares - modules, providers and schema options

1. [Apollo Federation](https://github.com/MichalLytek/typegraphql-nestjs/tree/master/examples/5-federation)
1. [Apollo Federation (OLD)](https://github.com/MichalLytek/typegraphql-nestjs/tree/master/examples/5-federation)

Showcase of Apollo Federation approach
Showcase of the legacy Apollo Federation approach

You can run them by using `ts-node`, like `npx ts-node ./examples/1-basics/index.ts`.
1. [Apollo Federation V2](https://github.com/MichalLytek/typegraphql-nestjs/tree/master/examples/6-federation-2)

Showcase of the new Apollo Federation V2 approach

Most of them you can run by using `ts-node`, like `npx ts-node ./examples/1-basics/index.ts`.

All examples folders contain a `query.gql` file with some examples operations you can perform on the GraphQL servers.

0 comments on commit 22fccc4

Please sign in to comment.