Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Fix validation when passing an interface to the injects list. #222

Merged
merged 1 commit into from
May 1, 2013

Conversation

swankjesse
Copy link
Member

I admit that this fix is clumsy. The core problem is that
the 'injects' list serves double duty: it includes types that
we can call ObjectGraph.get() on (could be interfaces) and also
types that we call ObjectGraph.inject() on (can't be interfaces).

The right fix is to rethink the way Dagger internally tracks
and links these keys.

I admit that this fix is clumsy. The core problem is that
the 'injects' list serves double duty: it includes types that
we can call ObjectGraph.get() on (could be interfaces) and also
types that we call ObjectGraph.inject() on (can't be interfaces).

The right fix is to rethink the way Dagger internally tracks
and links these keys.
JakeWharton added a commit that referenced this pull request May 1, 2013
Fix validation when passing an interface to the injects list.
@JakeWharton JakeWharton merged commit e164faf into master May 1, 2013
@JakeWharton JakeWharton deleted the jwilson/inject_interface branch May 1, 2013 15:36
tbroyer added a commit to tbroyer/dagger that referenced this pull request Aug 15, 2015
Also make all links to JavaEE javadoc consistent (changed one link from JavaEE 6 to JavaEE 7)

Fixes square#222
tbroyer added a commit to tbroyer/dagger that referenced this pull request Feb 8, 2016
tbroyer added a commit to tbroyer/dagger that referenced this pull request Feb 11, 2016
tbroyer added a commit to tbroyer/dagger that referenced this pull request Feb 11, 2016
tbroyer added a commit to tbroyer/dagger that referenced this pull request Aug 25, 2016
tbroyer added a commit to tbroyer/dagger that referenced this pull request Aug 25, 2016
tbroyer added a commit to tbroyer/dagger that referenced this pull request Aug 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants