Strict autowiring for pure Javascript: Filename AND Class name must have the same name. (allow camelcase - underscore naming)
Autowire will generate a compiled version of container configuration in yaml/js/xml file with the autowire classes. For production environments. Improves performance
I spent some days working on it and I think this is not the right approach...
May we have to rethink the main idea of autowiring on pure javascript
I'll close this issue
Example:
imagine we have something like this in: services/someClient.js
and then you can start using your
SomeClient
automatically like this:Implementation: