Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
associating types to GraphQL Kinds
Synopsis
- type SCALAR = 'SCALAR
- type OBJECT = 'TYPE
- type ENUM = 'TYPE
- type WRAPPER = 'WRAPPER
- type UNION = 'TYPE
- type INPUT_OBJECT = 'TYPE
- data DerivingKind
- type GQL_KIND = DerivingKind
- type OUTPUT = 'TYPE
- type INPUT = 'TYPE
- type INTERFACE = 'INTERFACE
- class ToValue (a :: DerivingKind) where
- toValue :: f a -> DerivingKind
- isObject :: DerivingKind -> Bool
- type TYPE = 'TYPE
- type CUSTOM = 'CUSTOM
Documentation
type SCALAR = 'SCALAR Source #
GraphQL Scalar: Int, Float, String, Boolean or any user defined custom Scalar type
Deprecated: use: deriving(GQLType), IMPORTANT: only types with constructor namename will sustain their form, other union constructors will be wrapped inside an new object
type INPUT_OBJECT = 'TYPE Source #
Deprecated: use: deriving(GQLType), will be automatically inferred
data DerivingKind Source #
type GQL_KIND = DerivingKind Source #
Deprecated: use: DerivingKind
class ToValue (a :: DerivingKind) where Source #
toValue :: f a -> DerivingKind Source #
isObject :: DerivingKind -> Bool Source #