Kamil Myśliwiec
|
10fdf16c47
|
build: use strict null checks part 1
|
2024-11-26 12:46:59 +01:00 |
|
Kamil Myśliwiec
|
38367e8e88
|
style: address spec lint errors
|
2024-11-26 11:57:05 +01:00 |
|
Kamil Myśliwiec
|
8829b8d1d7
|
style: address packages lint errors
|
2024-11-26 10:38:31 +01:00 |
|
Kamil Myśliwiec
|
236b633a76
|
style: address integration tests lint errors
|
2024-11-26 09:39:20 +01:00 |
|
dragontaek-lee
|
4d88c79839
|
fix(core): prevent exclude method from overwriting previous calls
|
2024-05-25 23:07:44 +09:00 |
|
Kamil Myśliwiec
|
3321f6ca20
|
fix(core): middleware is not executed for root route with prefix
|
2024-03-18 11:35:49 +01:00 |
|
Kamil Myśliwiec
|
7d8822cb5b
|
Merge branch 'fix-global-prefix-middleware' of https://github.com/CodyTseng/nest into CodyTseng-fix-global-prefix-middleware
|
2024-03-18 10:23:10 +01:00 |
|
Kamil Myśliwiec
|
6752144a86
|
chore: resolve conflicts
|
2024-03-18 10:21:44 +01:00 |
|
codytseng
|
8769a9d6b9
|
Merge branch 'master' into fix-global-prefix-middleware
|
2024-03-06 14:42:10 +08:00 |
|
Micael Levi L. Cavalcante
|
441715aab4
|
fix(core): when having multiple versions on middleware builder
|
2024-02-09 16:34:01 -04:00 |
|
Micael Levi L. Cavalcante
|
a3915c88ea
|
style(core): fix formatting
|
2023-10-12 20:55:16 -04:00 |
|
Kamil Mysliwiec
|
62236b914e
|
Merge pull request #12410 from Connormiha/simplify-get-injection-providers
utils: simplify map + flat in injections providers
|
2023-09-22 09:44:13 +02:00 |
|
Mikhail Bodrov
|
1778f3d2ba
|
utils: optimized toRouteInfo flat
|
2023-09-22 02:56:54 +03:00 |
|
Micael Levi L. Cavalcante
|
6bcb3bdcbd
|
style: fix formatting
|
2023-09-21 17:52:08 -04:00 |
|
codytseng
|
3b100cc971
|
feat: change middleware default request method
|
2023-08-24 23:32:24 +08:00 |
|
codytseng
|
73ff3ac81d
|
Revert "fix: middleware applied twice"
This reverts commit edd5eaf718.
|
2023-08-24 23:30:35 +08:00 |
|
codytseng
|
edd5eaf718
|
fix: middleware applied twice
|
2023-08-24 22:17:40 +08:00 |
|
codytseng
|
9fa3d930db
|
fix: the root path middleware not applied when setting the global prefix
|
2023-08-01 21:33:00 +08:00 |
|
Kamil Myśliwiec
|
e1c690e5ae
|
fix(core): middleware builder should match routes by method
|
2023-06-21 11:15:24 +02:00 |
|
Kamil Myśliwiec
|
6fc604b753
|
style(core): minor style change
|
2023-06-19 09:58:46 +02:00 |
|
Micael Levi L. Cavalcante
|
6ec99f8049
|
refactor(core): minor semantics improvement for isOverlapped
Replace `regexp#test` with `string#match` for readability sake
|
2023-06-18 22:51:49 -04:00 |
|
Micael Levi L. Cavalcante
|
efe788a6ae
|
fix(core): when selecting routes to apply a nestjs middlware
|
2023-06-18 22:49:00 -04:00 |
|
alucebur
|
963437c206
|
style: format code
|
2023-06-17 21:28:41 +02:00 |
|
alucebur
|
5463765051
|
fix(core): apply middlewares only once per route
Closes #11821.
|
2023-06-17 18:56:18 +02:00 |
|
Kamil Myśliwiec
|
7aa710724d
|
fix(core): apply middleware to versioned controllers (ctrl-level)
|
2023-06-14 11:34:56 +02:00 |
|
Kamil Mysliwiec
|
8053f11451
|
Merge pull request #9809 from rychardvale/fix-middleware-multiple-runs
feat(core): middleware runs once for matching route
|
2023-06-12 09:47:02 +02:00 |
|
Kamil Myśliwiec
|
bc4a571ef4
|
fix: update outdated imports
|
2023-04-17 13:06:25 +02:00 |
|
Kamil Myśliwiec
|
718e70476b
|
chore: upgrade typescript
|
2023-04-05 11:09:22 +02:00 |
|
Kamil Myśliwiec
|
d323edbab9
|
chore(core): remove uuid dependency
|
2023-02-06 10:33:39 +01:00 |
|
Kamil Mysliwiec
|
1d5856c731
|
Update packages/core/middleware/builder.ts
|
2023-02-06 09:54:00 +01:00 |
|
Kamil Mysliwiec
|
c9c6468861
|
Update packages/core/middleware/route-info-path-extractor.ts
|
2023-02-06 09:53:51 +01:00 |
|
codytseng
|
b8702d5dbd
|
fix(core): add global prefix to exclude paths for middleware
|
2023-02-04 12:17:00 +08:00 |
|
Cody Tseng
|
6d64d91122
|
Update packages/core/middleware/route-info-path-extractor.ts
Co-authored-by: Kamil Mysliwiec <mail@kamilmysliwiec.com>
|
2023-02-03 17:03:01 +08:00 |
|
codytseng
|
c6dbc05bb6
|
refactor: MiddlewareModule constructor parameters
|
2023-02-01 23:22:02 +08:00 |
|
codytseng
|
25dd621132
|
Merge branch 'master' into fix-middleware-global-prefix
|
2023-02-01 22:36:47 +08:00 |
|
Kamil Myśliwiec
|
c1815d2f8c
|
fix: revert #10801
|
2023-02-01 14:29:21 +01:00 |
|
Kamil Myśliwiec
|
a986e7e907
|
Merge branch 'master' of https://github.com/nestjs/nest
|
2023-02-01 13:00:10 +01:00 |
|
Kamil Myśliwiec
|
cd0462fbcb
|
style: minor formatting tweaks
|
2023-02-01 12:59:40 +01:00 |
|
Kamil Myśliwiec
|
b9910a400a
|
Merge branch 'zmj-fix_gloabl_prefix' of github.com:zanminkian/nest into zanminkian-zmj-fix_gloabl_prefix
|
2023-02-01 12:58:09 +01:00 |
|
Kamil Mysliwiec
|
6d88e3cd3c
|
Merge pull request #10809 from micalevisk/fix/durable-payload-regression
fix(core,microservices): inject the context when the tree is not durable
|
2023-02-01 12:56:47 +01:00 |
|
Kamil Myśliwiec
|
20abe1df78
|
fix(core): wrap middleware configure in try..catch - preview mode
|
2023-01-28 19:06:33 +01:00 |
|
Micael Levi L. Cavalcante
|
f396dc1ddf
|
refactor(core): extract get context id logic into its own method
|
2023-01-27 12:08:12 -04:00 |
|
Micael Levi L. Cavalcante
|
aafdac62a0
|
fix(core,microservices): inject the context when the tree is not durable
|
2023-01-27 12:08:10 -04:00 |
|
Kamil Myśliwiec
|
38f55a1cff
|
feat(core): introduce preview mode, update tests, fix minor issues
|
2023-01-11 15:14:50 +01:00 |
|
曾明健
|
5deabef549
|
fix(core): fix global prefix not working
|
2023-01-04 10:05:05 +00:00 |
|
codytseng
|
a1f17e2271
|
refactor: rename getPaths to extractPathsFrom
|
2022-11-24 21:34:45 +08:00 |
|
codytseng
|
ecba3bafde
|
refactor: create a separate class to retrieve the paths
|
2022-11-24 14:37:59 +08:00 |
|
codytseng
|
60772c39e1
|
feat: use mapToExcludeRoute() when set global prefix
|
2022-11-23 22:34:25 +08:00 |
|
codytseng
|
758cd2d8b1
|
refactor: wrap get paths logic into a private function
|
2022-11-23 18:18:32 +08:00 |
|
Kamil Myśliwiec
|
a89615b124
|
feat: add graph inspector implementation
|
2022-11-21 11:00:11 +01:00 |
|