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
If missing @inject annotations we should throw a MISSING_INJECT_ANNOTATION error. But if the binding is a toConstructor then no @inject annotations should be required.
Current Behavior
If missing @inject annotations we always throw an error. Users can use @inject annotation to fix the issue but these annotations are not required.
Expected Behavior
If missing
@inject
annotations we should throw aMISSING_INJECT_ANNOTATION
error. But if the binding is atoConstructor
then no@inject
annotations should be required.Current Behavior
If missing
@inject
annotations we always throw an error. Users can use@inject
annotation to fix the issue but these annotations are not required.Possible Solution
Do not throw error is
toConsturctor
binding.Steps to Reproduce (for bugs)
Context
This issue was reported by @ubenzer
The text was updated successfully, but these errors were encountered: