morpheus-graphql-0.0.1: Morpheus GraphQL

Safe HaskellSafe
LanguageHaskell2010

Data.Morpheus.Generics.TypeRep

Documentation

class Selectors rep t where Source #

Methods

getFields :: Proxy rep -> [(t, TypeLib -> TypeLib)] Source #

Instances
Selectors (U1 :: k -> Type) t Source # 
Instance details

Defined in Data.Morpheus.Generics.TypeRep

Methods

getFields :: Proxy U1 -> [(t, TypeLib -> TypeLib)] Source #

(Selector s, GQLInput a) => Selectors (RecSel s a :: Type -> Type) (Text, InputField) Source # 
Instance details

Defined in Data.Morpheus.Kind.GQLArgs

Methods

getFields :: Proxy (RecSel s a) -> [((Text, InputField), TypeLib -> TypeLib)] Source #

(Selector s, GQLObject a) => Selectors (RecSel s a :: Type -> Type) (Text, ObjectField) Source # 
Instance details

Defined in Data.Morpheus.Kind.GQLObject

Methods

getFields :: Proxy (RecSel s a) -> [((Text, ObjectField), TypeLib -> TypeLib)] Source #

(Selectors a t, Selectors b t) => Selectors (a :*: b :: k -> Type) t Source # 
Instance details

Defined in Data.Morpheus.Generics.TypeRep

Methods

getFields :: Proxy (a :*: b) -> [(t, TypeLib -> TypeLib)] Source #

Selectors f t => Selectors (M1 C x f :: k -> Type) t Source # 
Instance details

Defined in Data.Morpheus.Generics.TypeRep

Methods

getFields :: Proxy (M1 C x f) -> [(t, TypeLib -> TypeLib)] Source #

Selectors f t => Selectors (M1 D x f :: k -> Type) t Source # 
Instance details

Defined in Data.Morpheus.Generics.TypeRep

Methods

getFields :: Proxy (M1 D x f) -> [(t, TypeLib -> TypeLib)] Source #