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