Profile cover photo
Profile photo
Adrian Cole
89 followers
89 followers
About
Posts

Curious about how composed components in Dagger 2 intend to work with scopes.

Ex. looking at ComponentProcessorTest, there's an example of a component with a scope, but not with dependencies. 

This error message suggests that an UberComponent can only have one component that has a scope.

"@test.SomeScope test.UberComponent depends on more than one scoped component:"

Here's the component:

@SomeScope @Component(dependencies={ScopedComponent.class1, ScopedComponent2.class})
interface UberComponent {}

Is this intentional, that components can only be composed of a single dependency, if any have scoped bindings?

Post has attachment
Presentation on OkHttp and http/2 given at JFokus

First day at Square!

Post has attachment

Post has attachment
playing around w/ caliper to see if implementation is anything like intent :)

Post has attachment
Adaptation of +Jesse Wilson Dagger deck: highlights relationship to Guice and how it's used at Netflix.

Post has attachment
start of a Dagger + SnakeYaml java commandline https://github.com/Netflix/denominator/pull/198 

Post has attachment
Denominator 2.0 is right around the corner.  Much leaner due to a complete switch off guice onto dagger.  On that note, it works on android now!

Post has attachment
Would love a review on an example android app for denominator: it uses a whole bunch of square oss.  Denominator is a DNS library used for multi-region AWS and OpenConnect appliances at Netflix.

Post has attachment
I'll be presenting Dagger at Uberconf in July.  Come by, if you can!
Wait while more posts are being loaded