Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
Schema | |
|
Instances
Data Schema Source # | |
Defined in Data.Morpheus.Schema.Schema gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Schema -> c Schema # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Schema # toConstr :: Schema -> Constr # dataTypeOf :: Schema -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Schema) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Schema) # gmapT :: (forall b. Data b => b -> b) -> Schema -> Schema # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Schema -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Schema -> r # gmapQ :: (forall d. Data d => d -> u) -> Schema -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Schema -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Schema -> m Schema # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Schema -> m Schema # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Schema -> m Schema # | |
Show Schema Source # | |
Generic Schema Source # | |
GQLKind Schema Source # | |
GQLObject Schema Source # | |
type Rep Schema Source # | |
Defined in Data.Morpheus.Schema.Schema type Rep Schema = D1 (MetaData "Schema" "Data.Morpheus.Schema.Schema" "morpheus-graphql-0.0.1-9yOQmuk6QYrGODa72tt3vl" False) (C1 (MetaCons "Schema" PrefixI True) ((S1 (MetaSel (Just "types") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Type]) :*: S1 (MetaSel (Just "queryType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Type)) :*: (S1 (MetaSel (Just "mutationType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Type)) :*: (S1 (MetaSel (Just "subscriptionType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Type)) :*: S1 (MetaSel (Just "directives") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Directive]))))) |
convertTypes :: TypeLib -> [Type] Source #
typeFromMutation :: Maybe (Text, OutputObject) -> [Type] Source #
buildSchemaLinkType :: (Text, OutputObject) -> Type Source #
initSchema :: TypeLib -> Schema Source #