From d28a95c4eb49e06ca1e33bb4320e9924241ead7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Lytek?= Date: Wed, 25 Aug 2021 21:15:20 +0200 Subject: [PATCH] docs(middlewares): add link to class-based middlewares example --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 440f479..1686d75 100644 --- a/README.md +++ b/README.md @@ -205,6 +205,10 @@ You can see some examples of the integration in this repo: Showcase of Apollo Federation approach, using the `TypeGraphQLFederationModule` and `GraphQLGatewayModule`. +1. [Middlewares](https://github.com/MichalLytek/typegraphql-nestjs/tree/master/examples/5-middlewares) + + Usage of class-based middlewares - modules, providers and schema options + You can run them 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.