Roy Jacobs

Results 72 comments of Roy Jacobs

This is probably a good place to point out that I'd recommend you take a look at the libraries shamelessly promoted by the others :) As you may be able...

Well, for server-side stuff I'm doing Java mostly nowadays and client-side I think ES6 modules are a pretty decent alternative, especially combined with React/Redux. You don't need dependencies accessible from...

This seems like a very specific use case. It would be auto-registering singletons that don't have any dependencies themselves (e.g. `Dep1` cannot have any dependencies that come from the container)....

Okay, I guess it depends on how you set up the modules you require, of course! I do prefer the explicitness of the registration step though. Hmm, how would you...

Yes, I get that :) Thanks for the details, still. I'm just not sure how you would make sure that B can be instantiated as a singleton, per-request or unique?

Ok, if you can provide a pull request I'd be more than happy to merge it in.

You are right, the main reason is to avoid problems during minification or bundling. The reason it's not implemented is because I simply did not yet have the need for...

Yes, that sounds like a reasonable solution. I'd want to specify the container though, so probably another method on the container object itself would be a good way to do...

Oh, so the autoInject _just_ creates the $inject property instead of actually resolving the object? That's even simpler, yes. Maybe that would be a good candidate for inclusion in the...

Thunder stolen! :) Seriously though, it's worth including. I finally have some more time to work on it, so hopefully I can add it asap. Now, if only I can...