Talento90 / typescript-node

:clipboard: TypeScript and NodeJS project template.
MIT License
369 stars 78 forks source link

Inversify update #4

Closed zolekm closed 8 years ago

zolekm commented 8 years ago

Hi as from inversify beta.9 there is no IKernel exported anymore you need to use it like this, can you update seed with thees breaking changes?

`import { Kernel, interfaces } from "inversify";

let kernel: interfaces.Kernel = new Kernel();

kernel.bind<interfaces.Factory>("Weapon").toFactory((context) => { return () => { return kernel.get("Weapon"); }; });`

Best, M

zolekm commented 8 years ago

To fix all issues i need to update MongoRepository with @injectable() annotation and ioc lib dev and test with interfaces dep

Best M

Talento90 commented 8 years ago

I will fix it on the weeken! But you can do a PR :+1:

Talento90 commented 8 years ago

Thanks for your input :+1:

Now you can clone it without any problems!

zolekm commented 8 years ago

@Talento90 thank you :)