diff options
| author | Eugen Wissner <belka@caraus.de> | 2020-01-11 08:32:25 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2020-01-13 08:21:02 +0100 |
| commit | adffa185bb249394ef651392b41b7a20b26031cc (patch) | |
| tree | 40547a4ef3fa1804924144d73dbcf9630a451b23 /src/Language/GraphQL/Schema.hs | |
| parent | f4ed06741dedb7b19cedc09b1c47afe1f0849f24 (diff) | |
| download | graphql-adffa185bb249394ef651392b41b7a20b26031cc.tar.gz | |
Parse interface type definition
Diffstat (limited to 'src/Language/GraphQL/Schema.hs')
| -rw-r--r-- | src/Language/GraphQL/Schema.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Language/GraphQL/Schema.hs b/src/Language/GraphQL/Schema.hs index 8bdf605..661e452 100644 --- a/src/Language/GraphQL/Schema.hs +++ b/src/Language/GraphQL/Schema.hs @@ -94,7 +94,7 @@ resolveFieldValue f resolveRight fld@(Field _ _ args _) = do _ <- addErrMsg err return $ HashMap.singleton (aliasOrName fld) Aeson.Null --- | Helper function to facilitate 'Argument' handling. +-- | Helper function to facilitate error handling and result emitting. withField :: (MonadIO m, Aeson.ToJSON a) => CollectErrsT m a -> Field -> CollectErrsT m (HashMap Text Aeson.Value) withField v fld |
