forked from OSS/graphql
Move path to the execution error
Since it isn't possible to get a path during validation, without executing the query.
This commit is contained in:
@ -43,7 +43,7 @@ resolveFieldValue result args resolver =
|
||||
=> ResolverException
|
||||
-> CollectErrsT m Type.Value
|
||||
handleFieldError e =
|
||||
addErr (Error (Text.pack $ displayException e) []) >> pure Type.Null
|
||||
addErr (Error (Text.pack $ displayException e) [] []) >> pure Type.Null
|
||||
context = Type.Context
|
||||
{ Type.arguments = Type.Arguments args
|
||||
, Type.values = result
|
||||
|
Reference in New Issue
Block a user