Jake Wharton
Jake Wharton
Any @Nullable annotation? Or a Dagger-provided @Nullable? On Aug 9, 2013 8:08 AM, "Jesse Wilson" [email protected] wrote: > Let's avoid the word "Optional Injection" since that means something > completely...
I am very strongly in favor of eagerly forbidding `null`.
Part of this issue is the fact that the generated "inject adapter" contains a constructor reference to types even if that type is never instantiated through Dagger. That issue is...
I saw this locally and just added Java 8 to `.travis.yml` to verify (and for future changes).
The two annotation-related features that were added were [annotations on types](http://docs.oracle.com/javase/tutorial/java/annotations/type_annotations.html) and [support for repeating annotations](http://docs.oracle.com/javase/tutorial/java/annotations/repeating.html).
The test is failing because of the absence of a failing compile. The test wants the build to fail but it erroneously succeeds.
If you had a 13" MacBook there would be two millimeters!
> I know that ButterKnife has an `@Optional` annotation for such "dependencies", now is there something similar for Dagger as well? Butter Knife does lookups not injection. With different layout...
You can inject an interface but nothing was providing its type. The error message looks correct.
(Granted, most of Dagger's errors could use more human terms)