Skip to content
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

Conversation

cgruber
Copy link

@cgruber cgruber commented Apr 2, 2015

Improvements to validations, @Subcomponents, easier map binding key use, and other various fixes.

"",
"@Module",
"final class ModuleWithParameters {",
" ModuleWithParameters(Object whatever) {}",

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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted.

@cgruber
Copy link
Author

cgruber commented Apr 7, 2015

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.

@cgruber cgruber added this to the Dagger 2.0 Release milestone Apr 7, 2015
sameb and others added 16 commits April 7, 2015 13:09
…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
(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=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
@gk5885
Copy link

gk5885 commented Apr 7, 2015

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";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing closing paren

Copy link
Author

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.

cgruber added a commit that referenced this pull request Apr 7, 2015
…f985e717dde1476aeaf058df50064ff

Merge from google (via MOE)
@cgruber cgruber merged commit ca857c1 into master Apr 7, 2015
@cgruber cgruber deleted the moe_writing_branch_from_9f986abd0f985e717dde1476aeaf058df50064ff branch April 7, 2015 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants