Commit Graph

86 Commits

Author SHA1 Message Date
Kamil Myśliwiec
10fdf16c47 build: use strict null checks part 1 2024-11-26 12:46:59 +01:00
Kamil Myśliwiec
fb72a8ec9f feat(core): introduce different module opaque key factories 2024-03-18 10:12:56 +01:00
Micael Levi L. Cavalcante
a26de50c39 style(core): remove unused import from injector module 2023-10-22 10:40:33 -04:00
Rick Dutour Geerling
a85aa06070 feat(core): instantiate non-static custom classes
Allows us to construct request-scoped custom classes by passing a `contextId` to `moduleRef.create`
2023-09-04 14:08:01 +02:00
Kamil Myśliwiec
7e3da2253b feat(core): discover by decorator, explorer pattern 2023-07-24 11:32:42 +02:00
Kamil Myśliwiec
8b74665bdf chore: remove deprecated types, utils, logic 2023-04-11 13:34:10 +02:00
Micael Levi L. Cavalcante
4cddcfb492 fix(core): false-negative value provider not registered error
when the value of the provider is `undefined`
2023-03-02 21:39:30 -04:00
Kamil Myśliwiec
7d92d33614 fix(core): pass enhancer subtype for custom providers 2023-02-10 10:59:03 +01:00
Kamil Myśliwiec
a2b3e1b727 feat(core): introduce entry providers concept 2023-02-10 10:58:37 +01:00
Kamil Myśliwiec
033d97839f feat(core): use hashcode for uuid registry 2023-02-08 12:15:21 +01:00
Kamil Myśliwiec
bf5b7ad394 feat(core): initialize on preview allowlist 2023-02-08 10:42:52 +01:00
Kamil Myśliwiec
4e783852b3 feat(core): use deterministic uuids if absolutely necessary 2023-02-01 12:53:08 +01:00
Kamil Mysliwiec
b4d6c13e1c Merge pull request #10983 from nestjs/feat/graph-inspector
feat: graph inspector, preview mode
2023-02-01 11:29:25 +01:00
Kamil Myśliwiec
2b6211f81b chore: merge conflicts 2023-01-11 19:30:30 +01:00
Kamil Myśliwiec
38f55a1cff feat(core): introduce preview mode, update tests, fix minor issues 2023-01-11 15:14:50 +01:00
Micael Levi L. Cavalcante
3c669cc900 docs(core): fix type def of ModuleRef#get and #resolve 2023-01-06 23:49:16 -04:00
Micael Levi L. Cavalcante
a545127764 refactor(core): simplify ternary on module find opts resolution 2023-01-06 21:46:46 -04:00
Micael Levi L. Cavalcante
b66257e520 fix(core): ModuleRef#get and #resolve default opts for mixed usage 2023-01-06 21:46:46 -04: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
Tony133
7f2f630111 chore(common,core,express): update imports 2022-11-03 22:35:15 +01:00
Tony133
ef04ff3008 chore(core): add index.ts in folder errorsexceptions and update imports 2022-10-22 16:45:31 +02:00
Kamil Myśliwiec
b8652f8770 feat(core): add durable providers feature 2022-05-31 11:03:47 +02:00
Kamil Myśliwiec
6136e46419 feat(core): support optional dependencies in factory providers 2022-02-18 16:59:24 +01:00
Kamil Myśliwiec
8908315cb4 fix(core): dynamic module reexporting #7576 2021-07-15 12:38:47 +02:00
Kamil Myśliwiec
a2b4c4a723 fix(): fix unit tests, imports 2021-02-11 14:52:20 +01:00
Kamil Myśliwiec
c212327794 feat(core): add lazy module loader class 2021-02-11 13:48:36 +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
d59c7b87bd feat(core): add instance links, introspection and expose request provider 2020-07-01 14:05:32 +02:00
Kamil Myśliwiec
ae08b12119 fix(core): improve typings for unknown export exception 2020-05-29 08:49:34 +02:00
Kamil Myśliwiec
34f74561de test(): add tests for lifecycle hooks, remove scope from module 2020-05-24 13:50:26 +02:00
cojack
4b7dcd6b2c feat(core): use iterate to reduce number of loops 2020-03-17 10:43:58 +01:00
Kamil Myśliwiec
7309ba4bdf chore(): remove lint from lint-staged 2020-01-26 12:17:23 +01:00
Kamil Myśliwiec
10046479ed fix(core): fix lifecycle hooks for middleware, injectables 2020-01-23 15:32:35 +01:00
Kamil Myśliwiec
46c9cef4b7 refactor(core): simplify non aliased providers getter 2019-12-27 13:11:52 +01:00
Kamil Myśliwiec
f973f38b47 Merge branch 'master' of https://github.com/peawyoyoyin/nest into peawyoyoyin-master 2019-12-27 12:59:46 +01:00
Kamil Myśliwiec
578603e8f2 feat(core): request-scoped custom providers improvements 2019-11-29 13:34:22 +01:00
Kamil Myśliwiec
575e3133a3 style(): run linter against integration tests and few others 2019-11-29 09:31:15 +01:00
Kamil Myśliwiec
5a618fe125 refactor(): extract handling unknown errors to separate functions 2019-11-08 10:15:42 +01:00
Kamil Myśliwiec
035348e07d fix(core): remove object-hash in handler metadata 2019-10-24 11:27:55 +02:00
Piriyapong Laopongsit
c4c02d7898 fix(core): Fix hooks being called when registered as alias 2019-10-19 16:28:51 +07:00
Kamil Myśliwiec
360112cac4 feat(core) dont override static enhancers 2019-10-04 12:18:41 +02:00
Mark Pieszak
92325cf9db feat(errors): update error messaging to provide solutions 2019-09-21 13:43:23 -04:00
Kamil Myśliwiec
77fb3bae6b fix(core) improve topological sorting performance 2019-09-03 09:53:56 +02:00
Kamil Myśliwiec
2bbff5432e fix(core) lookup enhancers on providers 2019-09-02 11:33:38 +02:00
Kamil Myśliwiec
2cdebc888d fix(core) circular dependency when calculating distance of modules 2019-08-28 15:07:56 +02:00
Kamil Myśliwiec
51bde528c0 resolve conflicts 2019-08-26 14:32:21 +02:00
Kamil Myśliwiec
3c340b8a41 refactor() adjust coding style 2019-08-26 14:30:48 +02:00
Kamil Myśliwiec
64bc85ac28 Merge branch 'middleware-order' of https://github.com/underfin/nest into underfin-middleware-order 2019-08-26 14:23:40 +02:00