Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

feat: default service identifier target to class when omitted#186

Open
j wants to merge 1 commit intoinversify:masterfrom
j:default-class-decorator
Open

feat: default service identifier target to class when omitted#186
j wants to merge 1 commit intoinversify:masterfrom
j:default-class-decorator

Conversation

@j
Copy link
Copy Markdown

@j j commented Aug 13, 2019

This PR allows decorators to default to class bindings when omitting the serviceIdentifier argument.

I.E:

@provide()
class Ninja {
  // ...
}

@fluentProvide().inSingletonScope().done()
class Repository {
  // ...
}

@shaharmor
Copy link
Copy Markdown

Any update on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants