Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ToSchemaRelationshipDef = ToSchemaRelationshipDef {}
- newtype RemoteFields = RemoteFields {}
- data FieldCall = FieldCall {}
- newtype RemoteArguments = RemoteArguments {}
- data RemoteSchemaTypeRelationships r = RemoteSchemaTypeRelationships {
- _rstrsName :: Name
- _rstrsRelationships :: RemoteRelationships r
- type SchemaRemoteRelationships r = InsOrdHashMap Name (RemoteSchemaTypeRelationships r)
- rstrsRelationships :: forall r r. Lens (RemoteSchemaTypeRelationships r) (RemoteSchemaTypeRelationships r) (RemoteRelationships r) (RemoteRelationships r)
- rstrsName :: forall r. Lens' (RemoteSchemaTypeRelationships r) Name
- trrdRemoteSchema :: Lens' ToSchemaRelationshipDef RemoteSchemaName
- trrdRemoteField :: Lens' ToSchemaRelationshipDef RemoteFields
- trrdLhsFields :: Lens' ToSchemaRelationshipDef (HashSet FieldName)
Documentation
data ToSchemaRelationshipDef Source #
Metadata representation of a relationship to a remote schema.
ToSchemaRelationshipDef | |
|
Instances
newtype RemoteFields Source #
Targeted field in a remote schema relationship. TODO: explain about subfields and why this is a container
Instances
Associates a field name with the arguments it will be passed in the query.
https://graphql.github.io/graphql-spec/June2018/#sec-Language.Arguments
Instances
Generic FieldCall Source # | |
Show FieldCall Source # | |
NFData FieldCall Source # | |
Eq FieldCall Source # | |
Hashable FieldCall Source # | |
type Rep FieldCall Source # | |
Defined in Hasura.RemoteSchema.Metadata.RemoteRelationship type Rep FieldCall = D1 ('MetaData "FieldCall" "Hasura.RemoteSchema.Metadata.RemoteRelationship" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "FieldCall" 'PrefixI 'True) (S1 ('MetaSel ('Just "fcName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Name) :*: S1 ('MetaSel ('Just "fcArguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RemoteArguments))) |
newtype RemoteArguments Source #
Arguments to a remote GraphQL fields, represented as a mapping from name to GraphQL Value. Said values can be variable names, in which case they'll be referring to values we're closed over. TODO: expand on this
Instances
data RemoteSchemaTypeRelationships r Source #
RemoteSchemaTypeRelationships | |
|
Instances
rstrsRelationships :: forall r r. Lens (RemoteSchemaTypeRelationships r) (RemoteSchemaTypeRelationships r) (RemoteRelationships r) (RemoteRelationships r) Source #