Skip to content

Commit 692c164

Browse files
2 parents 3e6a44c + 1ac048f commit 692c164

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

content/discover/who-uses.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@
253253
"https://tayeh.ir",
254254
"https://forwardigital.co.uk",
255255
"https://rozetka.com.ua",
256-
"https://www.itrio.net"
256+
"https://www.itrio.net",
257+
"https://dyrector.io",
258+
"https://stijlbreuk.nl"
257259
]
258260
}

content/microservices/redis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ The [Redis](https://redis.io/) transporter implements the publish/subscribe mess
66

77
#### Installation
88

9-
To start building Redis-based microservices, first install the required package:
9+
To start building Redis-based microservices, first install the required package (note as of now the supported Redis version is ^3, not the latest ^4):
1010

1111
```bash
12-
$ npm i --save redis
12+
$ npm i --save redis@^3
1313
```
1414

1515
#### Overview

content/techniques/http-module.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ Like other factory providers, our factory function can be [async](https://docs.n
9494
HttpModule.registerAsync({
9595
imports: [ConfigModule],
9696
useFactory: async (configService: ConfigService) => ({
97-
timeout: configService.getString('HTTP_TIMEOUT'),
98-
maxRedirects: configService.getString('HTTP_MAX_REDIRECTS'),
97+
timeout: configService.get('HTTP_TIMEOUT'),
98+
maxRedirects: configService.get('HTTP_MAX_REDIRECTS'),
9999
}),
100100
inject: [ConfigService],
101101
});

content/techniques/sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ Now a substitute `mockRepository` will be used as the `UsersRepository`. Wheneve
642642

643643
#### Custom repository
644644

645-
TypeORM provides a feature called **custom repositories**. Custom repositories allow you to extend a base repository class, and enrich it with several special methods. To learn more about this feature, visit [this page](https://typeorm.io/#/custom-repository).
645+
TypeORM provides a feature called **custom repositories**. Custom repositories allow you to extend a base repository class, and enrich it with several special methods. To learn more about this feature, visit [this page](https://typeorm.io/#/custom-repository). Be aware that custom repositories are outside of NestJS's Dependency Injection system, thus you can't inject any values into them.
646646

647647
In order to create your custom repository, use the `@EntityRepository()` decorator and extend the `Repository` class.
648648

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"build": "ng build --deleteOutputPath=false",
1212
"build:watch": "concurrently \"nodemon --config nodemon.json\" \"npm run start:watch\"",
1313
"prebuild:prod": "npm run docs",
14-
"build:prod": "ng build --prod --aot --deleteOutputPath=false",
14+
"build:prod": "ng build --configuration production --aot --deleteOutputPath=false",
1515
"test": "ng test",
1616
"lint": "ng lint",
1717
"e2e": "ng e2e",

0 commit comments

Comments
 (0)