diff options
| author | Eugen Wissner <belka@caraus.de> | 2020-09-16 09:12:49 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2020-09-16 09:12:49 +0200 |
| commit | 6e644c5b4b3a8284ed0a1f0a84fef775f70a68d6 (patch) | |
| tree | 56cac7b46b3621c8621e5f8026e275c3b464394d /src/Language/GraphQL/Execute | |
| parent | 4c10ce92041dc73a95aeb64aca241dd937ffaa5c (diff) | |
| download | graphql-6e644c5b4b3a8284ed0a1f0a84fef775f70a68d6.tar.gz | |
Move path to the execution error
Since it isn't possible to get a path during validation, without
executing the query.
Diffstat (limited to 'src/Language/GraphQL/Execute')
| -rw-r--r-- | src/Language/GraphQL/Execute/Execution.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Language/GraphQL/Execute/Execution.hs b/src/Language/GraphQL/Execute/Execution.hs index 71a2baa..f9d33d6 100644 --- a/src/Language/GraphQL/Execute/Execution.hs +++ b/src/Language/GraphQL/Execute/Execution.hs @@ -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 |
