morpheus-graphql-0.13.0: Morpheus GraphQL

Safe HaskellNone
LanguageHaskell2010

Data.Morpheus.Kind

Description

associating types to GraphQL Kinds

Synopsis

Documentation

type SCALAR = SCALAR Source #

GraphQL Scalar: Int, Float, String, Boolean or any user defined custom Scalar type

type OBJECT = OUTPUT Source #

Deprecated: use: deriving(GQLType), will be automatically inferred

GraphQL Object

type ENUM = ENUM Source #

GraphQL Enum

type WRAPPER = WRAPPER Source #

GraphQL Arrays , Resolvers and NonNull fields

type UNION = OUTPUT Source #

Deprecated: use: deriving(GQLType), INPORTANT: only types with constructor namename will sustain their form, other union constructors will be wrapped inside an new object

GraphQL Union

type INPUT_OBJECT = INPUT Source #

Deprecated: use more generalised kind: INPUT

GraphQL input Object

data Context (kind :: GQL_KIND) a Source #

context , like Proxy with multiple parameters * kind: object, scalar, enum ... * a: actual gql type

Constructors

Context 

newtype VContext (kind :: GQL_KIND) a Source #

Constructors

VContext 

Fields

data ResContext (kind :: GQL_KIND) (operation :: OperationType) event (m :: * -> *) value Source #

Constructors

ResContext 

type OUTPUT = OUTPUT Source #

GraphQL Object and union

type INPUT = INPUT Source #

GraphQL input Object and input union

type INTERFACE = INTERFACE Source #