Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- parseGraphQLQuery :: MonadError QErr m => GQLContext -> [VariableDefinition] -> Maybe (HashMap Name Value) -> [Directive Name] -> SelectionSet NoFragments Name -> m (RootFieldMap (QueryRootField UnpreparedValue), [Directive Variable], SelectionSet NoFragments Variable)
- convertQuerySelSet :: forall m. (MonadError QErr m, MonadGQLExecutionCheck m, MonadQueryTags m) => Environment -> Logger Hasura -> GQLContext -> UserInfo -> Manager -> RequestHeaders -> [Directive Name] -> SelectionSet NoFragments Name -> [VariableDefinition] -> GQLReqUnparsed -> SetGraphqlIntrospectionOptions -> RequestId -> Maybe Name -> m (ExecutionPlan, [QueryRootField UnpreparedValue], DirectiveMap, ParameterizedQueryHash)
Documentation
parseGraphQLQuery :: MonadError QErr m => GQLContext -> [VariableDefinition] -> Maybe (HashMap Name Value) -> [Directive Name] -> SelectionSet NoFragments Name -> m (RootFieldMap (QueryRootField UnpreparedValue), [Directive Variable], SelectionSet NoFragments Variable) Source #
:: forall m. (MonadError QErr m, MonadGQLExecutionCheck m, MonadQueryTags m) | |
=> Environment | |
-> Logger Hasura | |
-> GQLContext | |
-> UserInfo | |
-> Manager | |
-> RequestHeaders | |
-> [Directive Name] | |
-> SelectionSet NoFragments Name | |
-> [VariableDefinition] | |
-> GQLReqUnparsed | |
-> SetGraphqlIntrospectionOptions | |
-> RequestId | |
-> Maybe Name | Graphql Operation Name |
-> m (ExecutionPlan, [QueryRootField UnpreparedValue], DirectiveMap, ParameterizedQueryHash) |
Construct an ExecutionPlan
from a SelectionSet
.