Skip to content

Commit

Permalink
Merge pull request #1925 from Scrip7/patch-1
Browse files Browse the repository at this point in the history
docs(microservices): fixed custom provider markdown link
  • Loading branch information
kamilmysliwiec committed May 13, 2021
2 parents 0ea3722 + 0da8ce8 commit ab7d4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/microservices/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ constructor(

> info **Hint** The `ClientsModule` and `ClientProxy` classes are imported from the `@nestjs/microservices` package.
At times we may need to fetch the transporter configuration from another service (say a `ConfigService`), rather than hard-coding it in our client application. To do this, we can register a [custom provider](/techniques/custom-providers) using the `ClientProxyFactory` class. This class has a static `create()` method, which accepts a transporter options object, and returns a customized `ClientProxy` instance.
At times we may need to fetch the transporter configuration from another service (say a `ConfigService`), rather than hard-coding it in our client application. To do this, we can register a [custom provider](/fundamentals/custom-providers) using the `ClientProxyFactory` class. This class has a static `create()` method, which accepts a transporter options object, and returns a customized `ClientProxy` instance.

```typescript
@Module({
Expand Down

0 comments on commit ab7d4a0

Please sign in to comment.