freshgum-bubbles / typedi

Elegant Dependency Injection in TypeScript and JavaScript.
http://typedi.js.org/
MIT License
53 stars 3 forks source link

ESService Decorator #142

Closed freshgum-bubbles closed 1 year ago

freshgum-bubbles commented 1 year ago

This patch introduces ES Decorators as a contributory package. These decorators mirror their non-ES counterparts in the main package.

As the package only contains one decorator, we only have to focus on the Service decorator.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 943c8ca966fe3f28ec88718d6079475fbe70387a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------------- | ----- | | @freshgum/typedi | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

freshgum-bubbles commented 1 year ago

One point of note: this is in contrib/ now, but I imagine as pre-5.0 decorators are phased out, I would like to eventually move this to the main index (maybe in a year?).

We're shipping this in contrib/ now to avoid bundling two service implementations.

github-actions[bot] commented 10 months ago

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.