Safe Haskell | None |
---|---|
Language | Haskell2010 |
associating types to GraphQL Kinds
Synopsis
- type SCALAR = SCALAR
- type OBJECT = OUTPUT
- type ENUM = ENUM
- type WRAPPER = WRAPPER
- type UNION = OUTPUT
- type INPUT_OBJECT = INPUT
- data GQL_KIND
- data Context (kind :: GQL_KIND) a = Context
- newtype VContext (kind :: GQL_KIND) a = VContext {
- unVContext :: a
- data ResContext (kind :: GQL_KIND) (operation :: OperationType) event (m :: * -> *) value = ResContext
- type OUTPUT = OUTPUT
- type INPUT = INPUT
Documentation
GraphQL Scalar: Int, Float, String, Boolean or any user defined custom Scalar type
Deprecated: use: deriving(GQLType), will be automatically inferred
GraphQL Object
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
data ResContext (kind :: GQL_KIND) (operation :: OperationType) event (m :: * -> *) value Source #