-
Notifications
You must be signed in to change notification settings - Fork 434
Closed
Labels
Description
Describe the bug
Successful messages contain an empty array errors
property, while error messages contain a null data
property.
{
"data": {
"users": {
"name": "stream user"
}
},
"errors": []
}
{
"data": {
"users": null
},
"errors": [
{
"message": "some field error from handler",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"users"
],
"extensions": "some additional string"
}
]
}
To Reproduce
Run the warp_subscriptions example
Expected behavior
Succesful messages should contain only data
. Error messages should contain only errors
.
Additional context
Introduced by #721