Safe Haskell | None |
---|---|
Language | Haskell2010 |
Implements variable resolution for GraphQL queries, which annotates the use site of each GraphQL variable with its value.
Documentation
resolveVariables :: forall m fragments. (MonadError QErr m, Traversable fragments) => [VariableDefinition] -> VariableValues -> [Directive Name] -> SelectionSet fragments Name -> m ([Directive Variable], SelectionSet fragments Variable) Source #