diff options
Diffstat (limited to 'Data/GraphQL/Schema.hs')
| -rw-r--r-- | Data/GraphQL/Schema.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Data/GraphQL/Schema.hs b/Data/GraphQL/Schema.hs index 548c4eb..4acc4ac 100644 --- a/Data/GraphQL/Schema.hs +++ b/Data/GraphQL/Schema.hs @@ -48,7 +48,7 @@ type Fields = [Field] type Arguments = [Argument] -- | Variable substitution function. -type Subs = Text -> Maybe Text +type Subs = Name -> Maybe Value -- | Create a new 'Resolver' with the given 'Name' from the given 'Resolver's. object :: Alternative f => Name -> Resolvers f -> Resolver f @@ -110,7 +110,6 @@ withField name f (Field alias name' _ _) = where aliasOrName = fromMaybe name alias - -- | Takes a list of 'Resolver's and a list of 'Field's and applies each -- 'Resolver' to each 'Field'. Resolves into a value containing the -- resolved 'Field', or a null value and error information. |
