Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
Instances
Eq MetadataDTO Source # | |
Defined in Hasura.Metadata.DTO.Metadata (==) :: MetadataDTO -> MetadataDTO -> Bool # (/=) :: MetadataDTO -> MetadataDTO -> Bool # | |
Show MetadataDTO Source # | |
Defined in Hasura.Metadata.DTO.Metadata showsPrec :: Int -> MetadataDTO -> ShowS # show :: MetadataDTO -> String # showList :: [MetadataDTO] -> ShowS # | |
Generic MetadataDTO Source # | |
Defined in Hasura.Metadata.DTO.Metadata type Rep MetadataDTO :: Type -> Type # from :: MetadataDTO -> Rep MetadataDTO x # to :: Rep MetadataDTO x -> MetadataDTO # | |
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 codec :: JSONCodec MetadataDTO listCodecForStringCompatibility :: JSONCodec [MetadataDTO] | |
FromJSON MetadataDTO Source # | |
Defined in Hasura.Metadata.DTO.Metadata parseJSON :: Value -> Parser MetadataDTO parseJSONList :: Value -> Parser [MetadataDTO] | |
ToJSON MetadataDTO Source # | |
Defined in Hasura.Metadata.DTO.Metadata toJSON :: MetadataDTO -> Value toEncoding :: MetadataDTO -> Encoding toJSONList :: [MetadataDTO] -> Value toEncodingList :: [MetadataDTO] -> Encoding | |
ToSchema MetadataDTO Source # | |
Defined in Hasura.Metadata.DTO.Metadata 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)))) |