Skip to content

Commit 269c964

Browse files
committed
docs: fix migration link
1 parent e8c4725 commit 269c964

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

express-middlewares/README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![branches coverage](https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/jeremyben/reflet/master/express-middlewares/coverage-summary.json&label=branches&query=total.branches.pct&color=brightgreen&suffix=%&logo=jest)](./coverage-summary.json)
77

88
> [!IMPORTANT]
9-
> Upgrade from **v1** to **v2** : [Migration guide](../express-middlewares/MIGRATION.md)
9+
> Upgrade from **v1** to **v2** : [Migration guide](https://github.com/jeremyben/reflet/blob/master/express-middlewares/MIGRATION.md)
1010
1111
Convenient middleware decorators to use with [Reflet/express](../express).
1212

express/MIGRATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
Use `finalHandler` to accomplish the same task.
1414

1515
* `Router.register` was deprecated and has been removed, as well as `register` in router constructor.
16-
Use `Router.Chidren` decorator instead.
16+
Use `Router.Children` decorator instead.
1717

1818
* `DontSend` decorator was deprecated and has been removed.
1919
Use `Send.Dont` decorator instead.

express/README.MD

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![branches coverage](https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/jeremyben/reflet/master/express/coverage-summary.json&label=branches&query=total.branches.pct&color=brightgreen&suffix=%&logo=jest)](./coverage-summary.json)
77

88
> [!IMPORTANT]
9-
> Upgrade from **v1** to **v2** : [Migration guide](../express/MIGRATION.md)
9+
> Upgrade from **v1** to **v2** : [Migration guide](https://github.com/jeremyben/reflet/blob/master/express/MIGRATION.md)
1010
1111
The **best** decorators for [Express](https://expressjs.com/). Have a look at [Reflet's philosophy](../README.MD#Philosophy-).
1212

@@ -493,14 +493,14 @@ If you wish to circumvent this default behavior, add `ScopedMiddlewares` decorat
493493
@Router('/foo')
494494
@ScopedMiddlewares
495495
@Use(authenticate)
496-
class FooSecret {
497-
@Get()
496+
class Foo1 {
497+
@Get('/secret')
498498
getSecret(req: Request, res: Response, next: NextFunction) {}
499499
}
500500

501501
@Router('/foo')
502-
class FooPublic {
503-
@Get()
502+
class Foo2 {
503+
@Get('/public')
504504
getPublic(req: Request, res: Response, next: NextFunction) {}
505505
}
506506
```
@@ -1096,7 +1096,7 @@ import { UserRouter } from './user.router'
10961096

10971097
@Send({ json: true })
10981098
@Use(express.json(), express.urlencoded())
1099-
@Router.ScopedMiddlewares
1099+
@ScopedMiddlewares
11001100
@Catch(finalHandler({
11011101
json: true,
11021102
log: true,

mongoose/README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![branches coverage](https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/jeremyben/reflet/master/mongoose/coverage-summary.json&label=branches&query=total.branches.pct&color=brightgreen&suffix=%&logo=jest)](./coverage-summary.json)
77

88
> [!IMPORTANT]
9-
> Upgrade from **v1** to **v2** : [Migration guide](../mongoose/MIGRATION.md)
9+
> Upgrade from **v1** to **v2** : [Migration guide](https://github.com/jeremyben/reflet/blob/master/mongoose/MIGRATION.md)
1010
1111
The **best** decorators for [Mongoose](https://mongoosejs.com/). Have a look at [Reflet's philosophy](../README.MD#Philosophy-).
1212

0 commit comments

Comments
 (0)