Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Morpheus.Kind.GQLQuery
Documentation
class GQLQuery a where Source #
Minimal complete definition
Nothing
Methods
encodeQuery :: a -> TypeLib -> SelectionSet -> ResolveIO JSType Source #
encodeQuery :: (Generic a, DeriveResolvers (Rep a)) => a -> TypeLib -> SelectionSet -> ResolveIO JSType Source #
querySchema :: a -> TypeLib Source #
querySchema :: Selectors (Rep a) (Text, ObjectField) => a -> TypeLib Source #