When we send errors, we don't set any data in the graph from the level the error occured.
So we shouldn't use ! in the schema in those cases.
The only valid use cases is for the graph leaves (scalar fields), or cases where we intentionally want to send back data with errors.
When we send errors, we don't set any data in the graph from the level the error occured.
So we shouldn't use
!in the schema in those cases.The only valid use cases is for the graph leaves (scalar fields), or cases where we intentionally want to send back data with errors.