graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.LogicalModelResolver.Metadata

Synopsis

Documentation

data LogicalModelIdentifier (b :: BackendType) Source #

the name of a Logical Model, or an inline Logical Model

Instances

Instances details
Backend b => FromJSON (LogicalModelIdentifier b) Source # 
Instance details

Defined in Hasura.LogicalModelResolver.Metadata

Backend b => ToJSON (LogicalModelIdentifier b) Source # 
Instance details

Defined in Hasura.LogicalModelResolver.Metadata

Backend b => HasCodec (LogicalModelIdentifier b) Source #

forgive me, I really did try and do this the native Autodocodec way and everything I did kept freezing the whole of HGE

Instance details

Defined in Hasura.LogicalModelResolver.Metadata

Generic (LogicalModelIdentifier b) Source # 
Instance details

Defined in Hasura.LogicalModelResolver.Metadata

Associated Types

type Rep (LogicalModelIdentifier b) :: Type -> Type #

Backend b => Show (LogicalModelIdentifier b) Source # 
Instance details

Defined in Hasura.LogicalModelResolver.Metadata

Backend b => Eq (LogicalModelIdentifier b) Source # 
Instance details

Defined in Hasura.LogicalModelResolver.Metadata

type Rep (LogicalModelIdentifier b) Source # 
Instance details

Defined in Hasura.LogicalModelResolver.Metadata

type Rep (LogicalModelIdentifier b) = D1 ('MetaData "LogicalModelIdentifier" "Hasura.LogicalModelResolver.Metadata" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "LMILogicalModelName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LogicalModelName)) :+: C1 ('MetaCons "LMIInlineLogicalModel" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (InlineLogicalModelMetadata b))))

data InlineLogicalModelMetadata (b :: BackendType) Source #

Description of an inline logical model to use in metadata (before schema cache) this has no name - it is up to the resolving user (ie, the Native Query, etc) to give the generated type a name

Instances

Instances details
Backend b => FromJSON (InlineLogicalModelMetadata b) Source # 
Instance details

Defined in Hasura.LogicalModelResolver.Metadata

Backend b => ToJSON (InlineLogicalModelMetadata b) Source # 
Instance details

Defined in Hasura.LogicalModelResolver.Metadata

Backend b => HasCodec (InlineLogicalModelMetadata b) Source # 
Instance details

Defined in Hasura.LogicalModelResolver.Metadata

Generic (InlineLogicalModelMetadata b) Source # 
Instance details

Defined in Hasura.LogicalModelResolver.Metadata

Associated Types

type Rep (InlineLogicalModelMetadata b) :: Type -> Type #

Backend b => Show (InlineLogicalModelMetadata b) Source # 
Instance details

Defined in Hasura.LogicalModelResolver.Metadata

Backend b => Eq (InlineLogicalModelMetadata b) Source # 
Instance details

Defined in Hasura.LogicalModelResolver.Metadata

type Rep (InlineLogicalModelMetadata b) Source # 
Instance details

Defined in Hasura.LogicalModelResolver.Metadata

type Rep (InlineLogicalModelMetadata b) = D1 ('MetaData "InlineLogicalModelMetadata" "Hasura.LogicalModelResolver.Metadata" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "InlineLogicalModelMetadata" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ilmmFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (InsOrdHashMap (Column b) (LogicalModelField b))) :*: S1 ('MetaSel ('Just "_ilmmSelectPermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (InsOrdHashMap RoleName (SelPermDef b)))))