graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.GraphQL.Execute.Query

Synopsis

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 #

convertQuerySelSet Source #

Arguments

:: 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.