Community
Participate
Working Groups
I discovered an error in my code when using: InjectorFactory.getDefault(). addBinding(IStringService.class). implementedBy(StringService.class); I had forgotten to add 'class StringService implements IStringService' and so the binding was never going to work. However, I would have expected this to be a compile-time error (assuming that the addBinding was generic) or at the very least a runtime error. However all errors were invisibly swallowed, even though it would never be able to be injected if this were the case. It would be better if the above could be a runtime or compile time error, which would have identified the problem (for me) much faster.