Safe Haskell | None |
---|---|
Language | Haskell2010 |
associating types to GraphQL Kinds
Synopsis
- type SCALAR = SCALAR
- type OBJECT = OBJECT
- type ENUM = ENUM
- type WRAPPER = WRAPPER
- type UNION = UNION
- type INPUT_OBJECT = INPUT_OBJECT
- type INPUT_UNION = INPUT_UNION
- 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) (m :: * -> *) event value = ResContext
Documentation
GraphQL Scalar: Int, Float, String, Boolean or any user defined custom Scalar type
type INPUT_OBJECT = INPUT_OBJECT Source #
GraphQL input Object
type INPUT_UNION = INPUT_UNION Source #
extension for graphQL
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) (m :: * -> *) event value Source #