morpheus-graphql-0.0.1: Morpheus GraphQL

Safe HaskellNone
LanguageHaskell2010

Data.Morpheus.Generics.GDecode

Documentation

class GDecode i f where Source #

Methods

gDecode :: MetaInfo -> i -> Validation (f a) Source #

Instances
GDecode i (U1 :: Type -> Type) Source # 
Instance details

Defined in Data.Morpheus.Generics.GDecode

Methods

gDecode :: MetaInfo -> i -> Validation (U1 a) Source #

(GDecode i f, GDecode i g) => GDecode i (f :*: g) Source # 
Instance details

Defined in Data.Morpheus.Generics.GDecode

Methods

gDecode :: MetaInfo -> i -> Validation ((f :*: g) a) Source #

GQLInput a => GDecode JSType (K1 i a :: Type -> Type) Source # 
Instance details

Defined in Data.Morpheus.Kind.GQLInput

Methods

gDecode :: MetaInfo -> JSType -> Validation (K1 i a a0) Source #

GQLInput a => GDecode Arguments (K1 i a :: Type -> Type) Source # 
Instance details

Defined in Data.Morpheus.Kind.GQLArgs

Methods

gDecode :: MetaInfo -> Arguments -> Validation (K1 i a a0) Source #

GDecode i f => GDecode i (M1 C c f) Source # 
Instance details

Defined in Data.Morpheus.Generics.GDecode

Methods

gDecode :: MetaInfo -> i -> Validation (M1 C c f a) Source #

(Datatype c, GDecode i f) => GDecode i (M1 D c f) Source # 
Instance details

Defined in Data.Morpheus.Generics.GDecode

Methods

gDecode :: MetaInfo -> i -> Validation (M1 D c f a) Source #

(Selector c, GDecode i f) => GDecode i (M1 S c f) Source # 
Instance details

Defined in Data.Morpheus.Generics.GDecode

Methods

gDecode :: MetaInfo -> i -> Validation (M1 S c f a) Source #