corbella83 / PopKorn

DI can be simple. Forget about modules and components. Just use it!
Apache License 2.0
155 stars 5 forks source link

Compile time safety #18

Open JavierSegoviaCordoba opened 3 years ago

JavierSegoviaCordoba commented 3 years ago

If an @Injectable is missing, the app should not compile instead of crashing in runtime.

Because PopKorn doesn't need components or modules, it is relatively strange that it happens, but it is a highly demanded feature and, for example, it can happen that someone forgets to annotate as @Injectable an implementation.