Investigate showing partial results for failed GraphQL queries
#2
Open
opened 5 years ago by joepie91
·
0 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
When a query fails in a template, it can be difficult to figure out exactly why it failed; a single error will hide the entire result that we'd have gotten for the query otherwise, showing only an error message and a stacktrace.
We should figure out whether there's a way to show the part of the query result that succeeded, so that it's easier to debug the source of an issue - eg. by looking at the other data for an item to see if there's anything obviously strange (unexpected
null
, mis-parsed data, ...), that might mess up code elsewhere that relies on it.