Open wzr1337 opened 7 years ago
I could do it. Do you have any library in mind? Something like https://github.com/inversify/InversifyJS ?
no nothing special.. it should play nicely with typescript and @types definitions though
How about the angular mechanism? https://github.com/mgechev/injection-js Haven`t had the time ti check it out myself but having the same way as in angular seems intriguing!
anyone still interested in supporting here?
@fibric and I discussed this issue the other day
ahh... you lie 😁
why should I? 😆
For a higher testibility of the main code, injecting an thus mocking service and resource independently from a plugin implementation would be very helpful.
This would mean quite some refac of the current code. In favor of testibility it should be seriously considered.