Open GoogleCodeExporter opened 9 years ago
Actually this is working as designed. To compute the effective scope on a
linked binding, you need to follow
all of the links and take their intersection.
For example, consider:
bind(ArrayList.class).in(Scope1.class);
bind(List.class).to(ArrayList.class).in(Scope2.class);
bind(Collection.class).to(List.class).in(Scope3.class);
It wouldn't be unreasonable to create a helper method to aggregate all of the
scopes for a binding.
Original comment by limpbizkit
on 22 Apr 2009 at 4:16
Original issue reported on code.google.com by
aleksey....@gmail.com
on 17 Apr 2009 at 8:51