| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.Morpheus.Kind.GQLKind
Documentation
class GQLKind a where Source #
Minimal complete definition
Nothing
Methods
description :: Proxy a -> Text Source #
typeID :: Proxy a -> Text Source #
typeID :: Typeable a => Proxy a -> Text Source #
buildType :: Proxy a -> Core Source #
updateLib :: (Proxy a -> LibType) -> [TypeLib -> TypeLib] -> Proxy a -> TypeLib -> TypeLib Source #
Instances
| GQLKind Bool Source # | |
| GQLKind Float Source # | |
| GQLKind Int Source # | |
| GQLKind Text Source # | |
| GQLKind DirectiveLocation Source # | |
Defined in Data.Morpheus.Kind.GQLKind Methods description :: Proxy DirectiveLocation -> Text Source # typeID :: Proxy DirectiveLocation -> Text Source # buildType :: Proxy DirectiveLocation -> Core Source # updateLib :: (Proxy DirectiveLocation -> LibType) -> [TypeLib -> TypeLib] -> Proxy DirectiveLocation -> TypeLib -> TypeLib Source # | |
| GQLKind EnumValue Source # | |
| GQLKind TypeKind Source # | |
| GQLKind Type Source # | |
| GQLKind Field Source # | |
| GQLKind InputValue Source # | |
Defined in Data.Morpheus.Kind.GQLKind Methods description :: Proxy InputValue -> Text Source # typeID :: Proxy InputValue -> Text Source # buildType :: Proxy InputValue -> Core Source # updateLib :: (Proxy InputValue -> LibType) -> [TypeLib -> TypeLib] -> Proxy InputValue -> TypeLib -> TypeLib Source # | |
| GQLKind Directive Source # | |
| GQLKind Schema Source # | |
| GQLKind a => GQLKind (Maybe a) Source # | |
asObjectType :: GQLKind a => [(Text, ObjectField)] -> Proxy a -> LibType Source #
inputObjectOf :: GQLKind a => [(Text, InputField)] -> Proxy a -> LibType Source #