Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module provides the functions to parse and execute GraphQL
queries.
Documentation
:: Monad m | |
=> Schema m | Resolvers. |
-> Text | Text representing a |
-> m Value | Response. |
If the text parses correctly as a GraphQL
query the query is
executed using the given Schema
.
:: (Monad m, VariableValue a) | |
=> Schema m | Resolvers. |
-> HashMap Name a | Variable substitution function. |
-> Text | Text representing a |
-> m Value | Response. |
If the text parses correctly as a GraphQL
query the substitution is
applied to the query and the query is then executed using to the given
Schema
.