-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
If i send this query:
query MyQuery {
playerByUsername(username: "pe3ep") {
status {
online
server {
associatedGame
category
subType
}
}
}
}
I get this error:
{
"errors": [
{
"message": "The field at path '/playerByUsername/status/server/category' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'ServerCategory' within parent type 'Server'",
"path": [
"playerByUsername",
"status",
"server",
"category"
],
"extensions": {
"classification": "NullValueInNonNullableField"
}
},
{
"message": "The field at path '/playerByUsername/status/server/subType' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'String' within parent type 'Server'",
"path": [
"playerByUsername",
"status",
"server",
"subType"
],
"extensions": {
"classification": "NullValueInNonNullableField"
}
}
],
"data": {
"playerByUsername": {
"status": {
"online": true
}
}
}
}Metadata
Metadata
Assignees
Labels
No labels