Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Morpheus.Kind.GQLInput
Contents
Documentation
class GQLInput a where Source #
Minimal complete definition
Nothing
Methods
decode :: JSType -> Validation a Source #
decode :: (Generic a, GDecode JSType (Rep a)) => JSType -> Validation a Source #
asArgument :: Proxy a -> Text -> InputField Source #
asArgument :: GQLKind a => Proxy a -> Text -> InputField Source #
introInput :: Proxy a -> TypeLib -> TypeLib Source #
introInput :: (GQLKind a, Selectors (Rep a) (Text, InputField)) => Proxy a -> TypeLib -> TypeLib Source #