Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class GQLInput a where Source #
Nothing
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 #