Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Morpheus.Kind.GQLObject
Contents
Documentation
class GQLObject a where Source #
Minimal complete definition
Nothing
Methods
encode :: (Text, Selection) -> a -> ResolveIO JSType Source #
encode :: (Generic a, DeriveResolvers (Rep a)) => (Text, Selection) -> a -> ResolveIO JSType Source #
fieldType :: Proxy a -> Text -> ObjectField Source #
fieldType :: (Selectors (Rep a) (Text, ObjectField), GQLKind a) => Proxy a -> Text -> ObjectField Source #
introspect :: Proxy a -> TypeLib -> TypeLib Source #
introspect :: (Selectors (Rep a) (Text, ObjectField), GQLKind a) => Proxy a -> TypeLib -> TypeLib Source #