zazoomauro / node-dependency-injection

The NodeDependencyInjection component allows you to standarize and centralize the way objects are constructed in your application.
https://github.com/zazoomauro/node-dependency-injection/wiki
MIT License
281 stars 34 forks source link

Unable to load private npm packages #72

Closed zazoomauro closed 6 years ago

zazoomauro commented 6 years ago

If you have a private library and you want to inject it in to your class that is currently impossible because of @

services:
  foo:
    class: ./../bar
    arguments: ['%@company/repository']

Response:

The service @company/repository is not registered