New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge from google (via MOE) #145
Merge from google (via MOE) #145
Conversation
"", | ||
"@Module", | ||
"final class ModuleWithParameters {", | ||
" ModuleWithParameters(Object whatever) {}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prefer whatev
as it is hipper
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noted.
The fixes for this build are all working their way through internal review. If we can get them all done and synced out, we should still be able to release today. |
…improve the error message to tell you the dependency path that led to the invalid type. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=89884806
* Add validation for subcomponent factory methods. Malformed methods will get flagged with (hopefully) helpful error messages. * Add some friendly error messages for component methods as well. * Allow subcomponent factory methods to accept modules, particularly modules without default constructors. Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=89910213
------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=89915663
------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=89982588
(Once Guice syncs with google's internal both systems will share this behavior) ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=89998087
------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=90009415
…rather than Dagger_ ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=90217115
------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=90228800
…rastructure that detects it to ensure consistent behavior. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=90283952
------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=90290342
------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=90429548
…e open-source project. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=90433194
------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=90455224
------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=90516262
…ce to rc2. Note: This altered the xml formatting, which will be fixed in a later commit ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=90524096
------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=90525706
bad5d89
to
f03415a
Compare
LGTM |
|
||
static final String MEMBERS_INJECTION_WITH_UNBOUNDED_TYPE = | ||
"Type parameters must be bounded for members injection."; | ||
"Type parameters must be bounded for members injection. (%s required by %s, via:\n%s"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing closing paren
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in a forthcoming commit.
…f985e717dde1476aeaf058df50064ff Merge from google (via MOE)
Improvements to validations,
@Subcomponent
s, easier map binding key use, and other various fixes.