From 22fccc4abef95405514edfa6ab2aa539734c7c92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Lytek?= Date: Wed, 11 Jan 2023 18:02:53 +0100 Subject: [PATCH] docs(readme): add link to new federation example --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 718e406..62516f7 100644 --- a/README.md +++ b/README.md @@ -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.