Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class GQLEnum a where Source #
Nothing
decode :: (Generic a, GDecodeEnum (Rep a)) => Text -> a Source #
asInputField :: Proxy a -> Text -> InputField Source #
asInputField :: GQLKind a => Proxy a -> Text -> InputField Source #
asField :: Proxy a -> Text -> Field Source #
asField :: GQLKind a => Proxy a -> Text -> Field Source #
introspect :: Proxy a -> TypeLib -> TypeLib Source #
introspect :: (GQLKind a, GDecodeEnum (Rep a)) => Proxy a -> TypeLib -> TypeLib Source #
Instances
GQLEnum DirectiveLocation Source # | |
Defined in Data.Morpheus.Kind.GQLEnum decode :: Text -> DirectiveLocation Source # asInputField :: Proxy DirectiveLocation -> Text -> InputField Source # asField :: Proxy DirectiveLocation -> Text -> Field Source # introspect :: Proxy DirectiveLocation -> TypeLib -> TypeLib Source # | |
GQLEnum TypeKind Source # | |