graphql-go / graphql-go/graphql

Don't discard data in case of an error

Open
#750 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
10.1k
Forks
845
PR merge metrics
No merged PRs in 30d

Description

GraphQL allows to pass both, `data` as well as `error` entries. It would be nice it this would be posssible here. For example, for bulk operations that would help to report partial sucesses alongside with the errors in a proper manner.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by tracing how execution results and errors are represented and serialized, then define tests covering responses that contain both data and errors, including partial success for bulk operations; done means those results are preserved and reported together.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, graphql
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.