Kamil Myśliwiec
10fdf16c47
build: use strict null checks part 1
2024-11-26 12:46:59 +01:00
Kamil Myśliwiec
236b633a76
style: address integration tests lint errors
2024-11-26 09:39:20 +01:00
Kamil Myśliwiec
3267135f2d
chore: resolve merge conflicts
2024-11-18 12:45:34 +01:00
Kamil Mysliwiec
3ad835c05d
Merge pull request #14110 from wenlong-chen/fix-global-module-distance
...
fix(core): calculate module distance after bindGlobalScope
2024-11-18 08:18:34 +01:00
Wenlong Chen
5ccc88fe8a
fix(core): Calculate module distance after bindGlobalScope
2024-11-06 19:02:17 +08:00
Christian Lütke Stetzkamp
2c8982a2c7
fix(core): revisit dependencies w/ possibly higher distance
2024-10-29 15:33:44 +01:00
haouvw
8b4af57604
chore: fix some comments
...
Signed-off-by: haouvw <jchaodaohang@foxmail.com >
2024-08-27 19:08:27 +08:00
Micael Levi L. Cavalcante
136f035d36
fix(core): when using forward references on exports array
2024-06-21 10:28:42 -04:00
Kamil Myśliwiec
2545a4ca3c
chore: resolve conflicts
2023-07-17 10:14:14 +02:00
Kamil Myśliwiec
1f44c1c72a
chore: resolve conflicts
2023-06-12 12:24:08 +02:00
matt1097
8ea3a5088c
fix(core): Only update module distance if greater
2023-05-05 11:40:17 -04:00
Kamil Myśliwiec
fdfabf978c
chore: resolve conflicts
2023-04-17 13:49:01 +02:00
Kamil Myśliwiec
a2b3e1b727
feat(core): introduce entry providers concept
2023-02-10 10:58:37 +01:00
Kamil Myśliwiec
71c987e490
Merge branch 'perf/metadata-scanner' of https://github.com/H4ad/nest
2023-02-06 10:20:40 +01:00
Vinícius Lourenço
713ece9e88
perf(core): added map to cache scan from prototype
2023-02-04 10:04:45 -03:00
Kamil Myśliwiec
868bbcd8b9
Merge branch 'master' of https://github.com/nestjs/nest
2023-02-01 12:53:19 +01:00
Kamil Myśliwiec
4e783852b3
feat(core): use deterministic uuids if absolutely necessary
2023-02-01 12:53:08 +01:00
Antonio Tripodi
a185e63281
Merge branch 'master' into refactor/improvements-imports
2023-02-01 11:40:47 +01:00
Tony133
4d4f3f82de
refactor(): improvements the imports
2023-01-16 16:08:53 +01:00
Kamil Myśliwiec
38f55a1cff
feat(core): introduce preview mode, update tests, fix minor issues
2023-01-11 15:14:50 +01:00
Kamil Myśliwiec
95e8394b32
test: add inspector e2e tests, add deterministic uuid registry
2022-11-29 09:56:19 +01:00
Kamil Myśliwiec
a89615b124
feat: add graph inspector implementation
2022-11-21 11:00:11 +01:00
Kamil Myśliwiec
f4d1a1d978
feat(core): expose each option to get and resolve methods
2022-11-05 16:09:47 +01:00
Léo Anesi
f022a62723
fix(core): allow importing providers from global modules in lazy modules
2022-07-31 13:05:49 +02:00
Micael Levi (@micalevisk)
0c2a6d10c3
refactor(core): replace 1-level flatten by arr.flat(1)
2022-07-09 19:08:51 -04:00
Kamil Mysliwiec
c5dbdaf57e
Merge pull request #9596 from micalevisk/replace-warn-with-error
...
feat(core)!: throw an exception instead of logging due to module import misusage
2022-05-18 09:28:52 +02:00
Micael Levi (@micalevisk)
2d87a5addb
feat(core): throw an exception instead of logging due to module misusage
2022-05-17 23:08:21 -04:00
woobottle
f5051727ea
fix(core): Change ReflectMetadata Params Order
...
i saw reflectMetadata public method in scanner.ts use params backwards
same levele methods in scanner.ts like insertInjectable,
insertExportedProvider, insertController use pararms forward
i think this params order should be fixed
and only params reversed order in reflectMetadata can get hard to read
2022-03-09 17:59:47 +09:00
Kamil Myśliwiec
6136e46419
feat(core): support optional dependencies in factory providers
2022-02-18 16:59:24 +01:00
Leonardo Villela
09f6c94d85
chore(testing): remove debugger instructions
2021-12-19 16:24:09 +01:00
Leonardo Villela
59bae05cb2
fix(testing): lazy module override
2021-12-19 01:38:15 +01:00
Leonardo Villela
d7351b7a49
fix(testing): circular dependency module override
2021-12-19 00:02:50 +01:00
Kamil Mysliwiec
ab235a98c6
Update packages/core/scanner.ts
2021-12-16 14:09:24 +01:00
Kamil Mysliwiec
bd36f6ee75
Update packages/core/scanner.ts
2021-12-16 14:08:29 +01:00
Micael Levi (lab)
b995c22528
feat(core): add warn when importing a controller/filter as well
2021-12-14 23:18:34 -04:00
Micael Levi (lab)
17e4ca7407
feat(core,common): add warn when importing an injectable
2021-12-14 18:27:32 -04:00
Micael Levi (lab)
05167dbad0
refactor(core): use isForwardReference whenever possible
2021-12-14 10:56:36 -04:00
Leonardo Villela
2071461d5e
feat(testing): support override modules in test module builder
2021-12-12 23:32:31 +01:00
Kamil Myśliwiec
0b64023fbd
fix(core): exclude forward refs from distance calculation #7715
2021-08-02 10:31:05 +02:00
Kamil Myśliwiec
d76040bacc
fix(core): the default distance should be 1 #7582
2021-07-16 09:35:04 +02:00
Kamil Myśliwiec
c212327794
feat(core): add lazy module loader class
2021-02-11 13:48:36 +01:00
Kamil Mysliwiec
0c5ed37a06
Merge pull request #6141 from nestjs/feat/class-references-as-tokens
...
feat(core): use class references as keys (container)
2021-01-27 12:16:50 +01:00
Kamil Myśliwiec
8f7362a4cb
feat(core): use topological sort for lifecycle hooks
2021-01-25 14:52:27 +01:00
Kamil Myśliwiec
cc6d48b4c3
feat(core): use class refs as keys (container)
2021-01-13 11:24:02 +01:00
Kamil Myśliwiec
8a7b1325fb
fix(core): await dynamic module imports #5774
2020-11-24 09:43:01 +01:00
Livio
36ba59553c
fix(core): improve error message when imported module is nil
...
fixes #4586
2020-05-02 00:14:42 +02:00
Kamil Myśliwiec
12de529a48
refactor(core): add missing type to the root module
2020-04-17 10:02:16 +02:00
Kamil Mysliwiec
16b593765b
Merge branch 'master' into feat/iterate-over-everything
2020-03-26 16:05:43 +01:00
Kamil Myśliwiec
0e5b402a6f
refactor(): update to the latest version of prettier
2020-03-22 12:10:49 +01:00
cojack
4b7dcd6b2c
feat(core): use iterate to reduce number of loops
2020-03-17 10:43:58 +01:00