Compare commits

..

12 Commits

Author SHA1 Message Date
a041ce0e6d docs: Reflect changes to changelog und push version 2025-03-14 13:40:25 +01:00
1425503021 Merge branch 'feature/integrate-register-instance-in-register' of https://github.com/20Max01/TSinjex into feature/integrate-register-instance-in-register 2025-03-14 13:38:21 +01:00
bc4e56388a docs: Reflect changes to changelog 2025-03-14 13:38:11 +01:00
b03f272d88 refactor: add region tags for overloads in Register.ts 2025-03-14 13:38:11 +01:00
9a7d2bb0c3 docs: Reflect changes to changelog 2025-03-14 13:38:10 +01:00
af099a25d6 tests: add mode parameter to RegisterInstanceDecorator
- Introduced a `mode` parameter to the `test_RegisterInstanceDecorator` function allowing 'instance' or 'standalone' modes.
- Updated test cases to utilize the new `mode` parameter when registering an instance.
- Disabled specific ESLint rule in `Decorators.test.ts` for deprecation warnings.
- Added an additional test call to `test_RegisterInstanceDecorator` with 'instance' mode.
2025-03-14 13:37:38 +01:00
ac139cad43 refactor: consolidate registration decorators
- Introduced `Register` decorator to handle class and instance registration in the DI container.
- Deprecated `RegisterInstance` in favor of `Register`, which now internally handles instance registration.
- Added support for marking dependencies as deprecated with a warning logged upon first resolution.
- Updated documentation with examples and notes on deprecation.
2025-03-14 13:37:38 +01:00
97bf2be745 docs: Reflect changes to changelog 2025-03-12 09:35:43 +01:00
816a6d128a refactor: add region tags for overloads in Register.ts 2025-03-12 09:34:53 +01:00
405b7ff99a docs: Reflect changes to changelog 2025-03-11 17:46:00 +01:00
3563f9c590 tests: add mode parameter to RegisterInstanceDecorator
- Introduced a `mode` parameter to the `test_RegisterInstanceDecorator` function allowing 'instance' or 'standalone' modes.
- Updated test cases to utilize the new `mode` parameter when registering an instance.
- Disabled specific ESLint rule in `Decorators.test.ts` for deprecation warnings.
- Added an additional test call to `test_RegisterInstanceDecorator` with 'instance' mode.
2025-03-11 17:44:03 +01:00
c23ac1de98 refactor: consolidate registration decorators
- Introduced `Register` decorator to handle class and instance registration in the DI container.
- Deprecated `RegisterInstance` in favor of `Register`, which now internally handles instance registration.
- Added support for marking dependencies as deprecated with a warning logged upon first resolution.
- Updated documentation with examples and notes on deprecation.
2025-03-11 17:43:32 +01:00

Diff Content Not Available