Safe Haskell | None |
---|---|
Language | Haskell2010 |
Hasura.Metadata.DTO.Metadata
Synopsis
- data MetadataDTO
- = V1 MetadataV1
- | V2 MetadataV2
- | V3 MetadataV3
Documentation
data MetadataDTO Source #
Exported representation of the GraphQL Engine metadata configuration format.
The OpenAPI specification for metadata is experimental and incomplete. Please do not incorporate it into essential workflows at this time.
Constructors
V1 MetadataV1 | |
V2 MetadataV2 | |
V3 MetadataV3 |
Instances
Eq MetadataDTO Source # | |
Defined in Hasura.Metadata.DTO.Metadata | |
Show MetadataDTO Source # | |
Defined in Hasura.Metadata.DTO.Metadata Methods showsPrec :: Int -> MetadataDTO -> ShowS # show :: MetadataDTO -> String # showList :: [MetadataDTO] -> ShowS # | |
Generic MetadataDTO Source # | |
Defined in Hasura.Metadata.DTO.Metadata Associated Types type Rep MetadataDTO :: Type -> Type # | |
HasCodec MetadataDTO Source # | Sum types translate to union types in OpenApi documents via
A codec that represents more than two variants of different types requires
nesting |
Defined in Hasura.Metadata.DTO.Metadata | |
FromJSON MetadataDTO Source # | |
Defined in Hasura.Metadata.DTO.Metadata | |
ToJSON MetadataDTO Source # | |
Defined in Hasura.Metadata.DTO.Metadata Methods toJSON :: MetadataDTO -> Value toEncoding :: MetadataDTO -> Encoding toJSONList :: [MetadataDTO] -> Value toEncodingList :: [MetadataDTO] -> Encoding | |
ToSchema MetadataDTO Source # | |
Defined in Hasura.Metadata.DTO.Metadata Methods declareNamedSchema :: Proxy MetadataDTO -> Declare (Definitions Schema) NamedSchema | |
type Rep MetadataDTO Source # | |
Defined in Hasura.Metadata.DTO.Metadata type Rep MetadataDTO = D1 ('MetaData "MetadataDTO" "Hasura.Metadata.DTO.Metadata" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "V1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MetadataV1)) :+: (C1 ('MetaCons "V2" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MetadataV2)) :+: C1 ('MetaCons "V3" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MetadataV3)))) |