Impl seems to be not aligned with the section Errors and Non-Nullability
of the spec
#1988
Labels
module/graphql
Issues related to Ballerina GraphQL module
Points/4
Team/PCM
Protocol connector packages related issues
Type/Bug
Milestone
Version: Beta2
Spec says the below,
"If an error is thrown while resolving a field, it should be treated as though the field returned null, and an error must be added to the "errors" list in the response."
but our implementation seems to be a bit different.
Consider the below apollo example, query and the expected behaviour.
Query
Expected result
Now consider the same program in Ballerina,
and the response
The text was updated successfully, but these errors were encountered: