inversify-express-example icon indicating copy to clipboard operation
inversify-express-example copied to clipboard

failed on inversify-binding-decorators 4.0.0

Open thaiwu0107 opened this issue 7 years ago • 4 comments

Travis CI failed

let provide = makeProvideDecorator(container);
let fluentProvider = makeFluentProvideDecorator(container);

let provideNamed = function(identifier, name) {
    return fluentProvider(identifier)
              .whenTargetNamed(name)
              .done();
};

failed on inversify-binding-decorators 4.0.0 can't not find makeProvideDecorator and makeFluentProvideDecorator

how to fix on inversify-binding-decorators 4.0.0?

thaiwu0107 avatar Apr 24 '18 09:04 thaiwu0107

@thaiwu0107 inversify-binding-decorators comes with provide and fluentProvider by default. I do not believe you need them lines now

JordanHallGSI avatar Jun 15 '18 16:06 JordanHallGSI

Sorry for necroposting, but your comment doesn't fix anything. If a user willing to learn the library find this, like I did the first time, it's not that he knows the solution and probably can't figure out himself since it's here looking for a example to thinker with.

MattiaPette avatar Sep 22 '18 17:09 MattiaPette

I just ran into the same problem. Still trying to figure out different combination to load modules and use @provide works. Inversify keeps reporting error: No matching bindings found for serviceIdentifier: aaaa.

patran avatar May 27 '19 15:05 patran

this still appears to be broken

grimmersnee avatar Apr 24 '20 23:04 grimmersnee