You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Started writing a simple di for es7 decorators this evening. stumbled upon yours. probably will tinker with this a bit. add a few features. should be able to take care of the items in your roadmap.
Already done this exercise once but the key here is to keep it fairly simple. There are and will be plenty more DI libs using decorators, however when you need something simplistic for a lib you may be writing I think its key at least a large majority of the time to have something actually scaled back.
Like ur idea of defining own method for resolvers (think you call them providers, resolvers typically the term used), to be honest hadn't thought of doing that so plus 1 there.
TypeScript Support: I do think that the code may just works with TypeScript. What I am planning here is to create the same suite of test to validate that. And create the type definitions in another file too.
Browser Packages: I am only using the lib for BackEnd for now. So any support for browser packages are very welcome.
Pull requests are welcome!
Somethings to take in consideration:
About new features, please add a issue about the ideias before.
Mind the test coverage and code complexity, if you can do it with TDD probably will come with both.
Try to use only ES5.
This code is a part of a large "framework" that I'm using for development, so I'm trying to export every part of that as a little library that can be used alone.
If you are interest and want to get the big picture take a look at the restful-express
And if you like the library please Star ther project ;]
Road Map
The text was updated successfully, but these errors were encountered: