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

Separate guice #77

Merged
merged 3 commits into from
May 24, 2019
Merged

Conversation

sheepdreamofandroids
Copy link
Contributor

This separates the schema logic from the guice modules.
SchemaBundle could get a bunch of utility methods to make it easy to programmatically define a schema.
A few more tests are needed though the existing tests already cover this code.

@siderakis
Copy link
Member

Hello, thanks for the PR.

Can you please run the google-java-format formatter on this PR. (https://github.com/google/google-java-format)

If possible can you break the CL into a few smaller changes to make it easier to review.

@sheepdreamofandroids
Copy link
Contributor Author

Of course I can use the formatter. Shall I add one of the maven plugins?

I can split the PR into two independent changes. Since I'm mostly moving code into other classes the diff will still be big even though the actual change is small.

@siderakis
Copy link
Member

siderakis commented May 23, 2019 via email

@coveralls
Copy link

Pull Request Test Coverage Report for Build 295

  • 246 of 329 (74.77%) changed or added relevant lines in 4 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.3%) to 44.186%

Changes Missing Coverage Covered Lines Changed/Added Lines %
rejoiner/src/main/java/com/google/api/graphql/rejoiner/SchemaBundle.java 11 29 37.93%
rejoiner/src/main/java/com/google/api/graphql/rejoiner/SchemaModule.java 7 29 24.14%
rejoiner/src/main/java/com/google/api/graphql/rejoiner/SchemaDefinitionReader.java 227 270 84.07%
Files with Coverage Reduction New Missed Lines %
rejoiner/src/main/java/com/google/api/graphql/rejoiner/SchemaModule.java 1 40.0%
Totals Coverage Status
Change from base Build 283: -0.3%
Covered Lines: 893
Relevant Lines: 2021

💛 - Coveralls

@siderakis siderakis merged commit a2a6a67 into google:master May 24, 2019
@siderakis
Copy link
Member

Thanks!

@sheepdreamofandroids
Copy link
Contributor Author

Great! I was about to split this PR but this saves me some time ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants