@Component and @Inject don't work when there are more than one declared constructor #417

Closed
pmariano opened this Issue Dec 5, 2011 · 0 comments

Projects

None yet

2 participants

@pmariano
pmariano commented Dec 5, 2011

When there are two or more constructors into an @Component class and I force one of them with @Inject (this happens because I don't want to satisfy all constructors dependencies, just the ones those annotated with @Inject), Vraptor just ignore my annotation and try to inject in all constructors.

@cairesvs cairesvs added a commit to cairesvs/vraptor that referenced this issue Dec 8, 2011
@cairesvs cairesvs fixing issue #417 cdadd73
@lucascs lucascs closed this in 2480188 Dec 8, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment