inversify-binding-decorators icon indicating copy to clipboard operation
inversify-binding-decorators copied to clipboard

feat: default service identifier target to class when omitted

Open j opened this issue 6 years ago • 1 comments

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

I.E:

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

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

j avatar Aug 13 '19 18:08 j

Any update on this?

shaharmor avatar Feb 10 '20 12:02 shaharmor