morpheus-graphql-0.15.0: Morpheus GraphQL

Safe HaskellSafe
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), IMPORTANT: 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 generalized kind: INPUT

GraphQL input Object

type OUTPUT = OUTPUT Source #

GraphQL Object and union

type INPUT = INPUT Source #

GraphQL input Object and input union

type INTERFACE = INTERFACE Source #

class ToValue (a :: GQL_KIND) where Source #

Methods

toValue :: f a -> GQL_KIND Source #