GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Fix non-null union field implements nullable union interface field by tonyghita · Pull Request #4467 · graphql-java/graphql-java Conversation
|
|
Alternatively we could always unwrap non-null first? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Have not looked into it further, but what about nullability inside list and list of lists? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@andimarek I added a more comprehensive test across different type combinations in 2e21d2a. I only found the case when a I moved the branch for unwrapping non-null types up so that the control flow is closer to the spec, rather than the extra |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Test ReportTest Results
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
It seems like moving the branches around caused some changes in test branch coverage metrics. I added some tests for the missing branches as well to get things unblocked in 38e843e. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@andimarek gentle nudge to take a look over the chagnes |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
To add confidence that this is inline with the spec we landed additional tests in the reference implementation of GraphQL to verify this behavior is valid as well. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| "interface type 'SecondInterface' cannot implement 'FirstInterface' because that would result on a circular reference" | ||
| ] as Set | ||
| } | ||
|
|
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the extra tests. More tests good!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Looks like there are test failures |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.