You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"errors": [
{
"message": "The field at path '/products[0]/id' 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 'ID' within parent type 'Product'",
"path": [
"products",
0,
"id"
],
"extensions": {
"classification": "NullValueInNonNullableField"
}
},
{
"message": "The field at path '/products[0]/extId' 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 'Product'",
"path": [
"products",
0,
"extId"
],
"extensions": {
"classification": "NullValueInNonNullableField"
}
},
{
"message": "The field at path '/products[0]/kind' 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 'Product'",
"path": [
"products",
0,
"kind"
],
"extensions": {
"classification": "NullValueInNonNullableField"
}
}
],
"data": {
"products": [
null
]
}
}
Though the micronaut openjdk application works properly.
The actual result of the micronaut openjdk application is presented at Expected Behaviour section above.
Expected Behavior
The graphlql response:
Actual Behaviour
The graphlql response:
Steps To Reproduce
Build the micronaut native-image application:
Run the micronaut native-image application:
Open the url http://localhost:8080/graphiql
Execute the graphql query:
See the graphql response.
Though the micronaut openjdk application works properly.
The actual result of the micronaut openjdk application is presented at Expected Behaviour section above.
Environment Information
Example Application
https://github.com/eratolekov/micronaut-graphql-native-bug
Version
3.6.2
The text was updated successfully, but these errors were encountered: