Skip to content

Commit

Permalink
feat(core): add targetName decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
notaphplover committed Jan 10, 2025
1 parent 9257c9a commit 142b763
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/large-walls-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@inversifyjs/core": minor
---

Added `targetName` decorator
2 changes: 2 additions & 0 deletions packages/container/libraries/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import { optional } from './metadata/decorators/optional';
import { postConstruct } from './metadata/decorators/postConstruct';
import { preDestroy } from './metadata/decorators/preDestroy';
import { tagged } from './metadata/decorators/tagged';
import { targetName } from './metadata/decorators/targetName';
import { unmanaged } from './metadata/decorators/unmanaged';
import { ClassElementMetadata } from './metadata/models/ClassElementMetadata';
import { ClassElementMetadataKind } from './metadata/models/ClassElementMetadataKind';
Expand Down Expand Up @@ -143,5 +144,6 @@ export {
resolveModuleDeactivations,
resolveServiceDeactivations,
tagged,
targetName,
unmanaged,
};

0 comments on commit 142b763

Please sign in to comment.