Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
Field | |
|
Instances
GQLKind Field Source # | |
GQLObject Field Source # | |
Data t => Data (Field t) Source # | |
Defined in Data.Morpheus.Schema.Field gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Field t -> c (Field t) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Field t) # toConstr :: Field t -> Constr # dataTypeOf :: Field t -> DataType # dataCast1 :: Typeable t0 => (forall d. Data d => c (t0 d)) -> Maybe (c (Field t)) # dataCast2 :: Typeable t0 => (forall d e. (Data d, Data e) => c (t0 d e)) -> Maybe (c (Field t)) # gmapT :: (forall b. Data b => b -> b) -> Field t -> Field t # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Field t -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Field t -> r # gmapQ :: (forall d. Data d => d -> u) -> Field t -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Field t -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Field t -> m (Field t) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Field t -> m (Field t) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Field t -> m (Field t) # | |
Show t => Show (Field t) Source # | |
Generic (Field t) Source # | |
type Rep (Field t) Source # | |
Defined in Data.Morpheus.Schema.Field type Rep (Field t) = D1 (MetaData "Field" "Data.Morpheus.Schema.Field" "morpheus-graphql-0.0.1-9yOQmuk6QYrGODa72tt3vl" False) (C1 (MetaCons "Field" PrefixI True) ((S1 (MetaSel (Just "name") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "description") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "args") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [InputValue t]))) :*: (S1 (MetaSel (Just "_type") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 t) :*: (S1 (MetaSel (Just "isDeprecated") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Just "deprecationReason") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))))) |
createFieldWith :: Text -> a -> [InputValue a] -> Field a Source #