Open maartenkools opened 1 month ago
I've tested this with HC 14.rc0, and while it no longer produces an unexpected execution error, I do get a different error now:
{
"errors": [
{
"message": "Cannot return null for non-nullable field.",
"locations": [
{
"line": 5,
"column": 13
}
],
"path": [
"programmes",
2,
"department",
"displayName"
],
"extensions": {
"code": "HC0018"
}
},
{
"message": "Cannot return null for non-nullable field.",
"locations": [
{
"line": 5,
"column": 13
}
],
"path": [
"programmes",
1,
"department",
"displayName"
],
"extensions": {
"code": "HC0018"
}
},
{
"message": "Cannot return null for non-nullable field.",
"locations": [
{
"line": 5,
"column": 13
}
],
"path": [
"programmes",
0,
"department",
"displayName"
],
"extensions": {
"code": "HC0018"
}
}
],
"data": null
}
Product
Hot Chocolate
Version
13.9.11
Link to minimal reproduction
https://github.com/maartenkools/fusion-bug
Steps to reproduce
Using Fusion, make sure one of the sub graphs implements multiple types based on an interface. When you query those types, and include fields that come from different sub graphs, an error is generated: Unexpected Execution Error. This happens since 13.9.8, while on 13.9.7 it still works.
Also see the projected I've included in the report. It can be tested with the following query:
What is expected?
A result is returned
What is actually happening?
No result is returned, causing an error
Relevant log output
Additional context
No response