Le 12 avr. 2013 07:00, "Christian Edward Gruber" <notifications@github.com>
a écrit :
>
> In core/src/main/java/dagger/Module.java:
>
> > @@ -60,4 +60,5 @@
> >     */
> >    boolean complete() default true;
> >
> > +  boolean library() default false;
>
> Can I get some more information on what library() is for? I didn't see a
discussion about it, and it's a very clear addition to our public API.

Well, with this change, Dagger now fails the build if you have a
`@Provides` that's not used in the graph, so library is a mean to disable
that extra validation.

I wonder what the difference with complete is though (well, complete is
more about missing provides methods, but is there a need for that new
library?)