Skip to content

Upgrade library versions and unit tests #378

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

Merged
merged 4 commits into from
Sep 25, 2019

Conversation

smyrick
Copy link
Contributor

@smyrick smyrick commented Sep 25, 2019

📝 Description

One last bump of unit test coverage and update our dependencies before the 1.0.0 release

smyrick added 2 commits September 25, 2019 12:43
One last bump of unit test coverage and update our dependencies before the 1.0.0 release
@smyrick smyrick added changes: patch Changes require a patch version type: dependency changes Dependency change which doesn't affect our library usage type: refactor Code changes that have no impact on users labels Sep 25, 2019
// [OK] @provides references list of valid @extend objects
// [ERROR] @provides references @external list field
// [ERROR] @provides references @external interface field
private fun validateProvidesDirective(federatedType: String, field: GraphQLFieldDefinition): List<String> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just moved these functions to their own internal files so we can more easily scope the unit tests

@codecov-io
Copy link

codecov-io commented Sep 25, 2019

Codecov Report

Merging #378 into master will increase coverage by 1.9%.
The diff coverage is 94.73%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master     #378     +/-   ##
===========================================
+ Coverage     95.76%   97.67%   +1.9%     
+ Complexity      347      316     -31     
===========================================
  Files            98      104      +6     
  Lines          1205     1204      -1     
  Branches        213      198     -15     
===========================================
+ Hits           1154     1176     +22     
+ Misses           11        9      -2     
+ Partials         40       19     -21
Impacted Files Coverage Δ Complexity Δ
...oup/graphql/federation/FederatedSchemaValidator.kt 100% <ø> (+6.49%) 17 <0> (-30) ⬇️
.../com/expediagroup/graphql/federation/types/_Any.kt 86.95% <0%> (ø) 0 <0> (ø) ⬇️
.../extensions/GraphQLDirectiveContainerExtensions.kt 100% <100%> (ø) 0 <0> (?)
...aphql/federation/validation/validateKeySetField.kt 100% <100%> (ø) 0 <0> (?)
...federation/validation/validateRequiresDirective.kt 100% <100%> (ø) 0 <0> (?)
...federation/validation/validateProvidesDirective.kt 100% <100%> (ø) 0 <0> (?)
...graphql/federation/validation/validateDirective.kt 90.9% <90.9%> (ø) 0 <0> (?)
...ql/federation/validation/validateFieldSelection.kt 91.66% <91.66%> (ø) 0 <0> (?)
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f2214c...d52df07. Read the comment docs.

@smyrick smyrick merged commit e98e590 into ExpediaGroup:master Sep 25, 2019
@smyrick smyrick deleted the code-cov-2 branch September 25, 2019 20:46
dariuszkuc pushed a commit to dariuszkuc/graphql-kotlin that referenced this pull request Aug 5, 2022
* Upgrade library versions and unit tests

One last bump of unit test coverage and update our dependencies before the 1.0.0 release

* Update other versions

* Fix build for jdk8

* Update coroutines version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes: patch Changes require a patch version type: dependency changes Dependency change which doesn't affect our library usage type: refactor Code changes that have no impact on users
Development

Successfully merging this pull request may close these issues.

3 participants