Returning error from subscription doesn't return a proper Graphql Error payload #4208
Labels
module/graphql
Issues related to Ballerina GraphQL module
Reason/EngineeringMistake
The issue occurred due to a mistake made in the past.
Team/PCM
Protocol connector packages related issues
Type/Bug
Milestone
Description:
Consider the following graphql service and the subscription query
Service
Query
The above query returns the following output
which does not conform to the standard format for GraphQL errors. The expected error response should include additional information such as the
location
andpath
of the error. Following is the expected responseSteps to reproduce:
Affected Versions:
Update 3,4
OS, DB, other environment details and versions:
Related Issues (optional):
Suggested Labels (optional):
Suggested Assignees (optional):
The text was updated successfully, but these errors were encountered: