graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.GraphQL.Execute

Synopsis

Documentation

makeGQLContext :: UserInfo -> SchemaCache -> GraphQLQueryType -> GQLContext Source #

Construct a single step of an execution plan.

data ResolvedExecutionPlan Source #

Constructors

QueryExecutionPlan ExecutionPlan [QueryRootField UnpreparedValue] DirectiveMap

query execution; remote schemas and introspection possible

MutationExecutionPlan ExecutionPlan

mutation execution; only __typename introspection supported

SubscriptionExecutionPlan (SubscriptionExecution, Maybe (Endo Value))

either action query or live query execution; remote schemas and introspection not supported

data SubscriptionExecution Source #

The comprehensive subscription plan. We only support either 1. Fields with only async action queries with no associated relationships or 2. Source database query fields from same source and also can be mixed with async action query fields whose relationships are defined to tables in the source