stitching.proto

Package: envoy.config.resolver.stitching.v2

Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/external/envoy/extensions/graphql/stitching.proto

FieldNode

"name": string

Field Type Description
name string

FieldNodeMap

"nodes": map<string, .envoy.config.resolver.stitching.v2.FieldNodes>

Field Type Description
nodes map<string, .envoy.config.resolver.stitching.v2.FieldNodes>

FieldNodes

"fieldNodes": []envoy.config.resolver.stitching.v2.FieldNode

Field Type Description
fieldNodes []envoy.config.resolver.stitching.v2.FieldNode

ResolverConfig

"selectionSet": string
"fieldName": string

Field Type Description
selectionSet string
fieldName string

Schemas

"schemas": []string

Field Type Description
schemas []string

ArgPath

"setterPath": []string
"extractionPath": []string

Field Type Description
setterPath []string Setter Path.
extractionPath []string Extraction path.

ResolverInfo

"fieldName": string
"args": []envoy.config.resolver.stitching.v2.ArgPath

Field Type Description
fieldName string
args []envoy.config.resolver.stitching.v2.ArgPath

MergedTypeConfig

"typeName": string
"selectionSets": map<string, string>
"uniqueFieldsToSubschemaName": map<string, string>
"nonUniqueFieldsToSubschemaNames": map<string, .envoy.config.resolver.stitching.v2.Schemas>
"declarativeTargetSubschemas": map<string, .envoy.config.resolver.stitching.v2.Schemas>
"subschemaNameToResolverInfo": map<string, .envoy.config.resolver.stitching.v2.ResolverInfo>

Field Type Description
typeName string
selectionSets map<string, string> map of subschema name to selection set string e.g. name_subschema: ‘{ id }'.
uniqueFieldsToSubschemaName map<string, string> field name -> scema name.
nonUniqueFieldsToSubschemaNames map<string, .envoy.config.resolver.stitching.v2.Schemas>
declarativeTargetSubschemas map<string, .envoy.config.resolver.stitching.v2.Schemas> schema -> subschemas.
subschemaNameToResolverInfo map<string, .envoy.config.resolver.stitching.v2.ResolverInfo>

StitchingInfo

Data plane stitching info extension message

"fieldNodesByType": map<string, .envoy.config.resolver.stitching.v2.FieldNodes>
"fieldNodesByField": map<string, .envoy.config.resolver.stitching.v2.FieldNodeMap>
"mergedTypes": map<string, .envoy.config.resolver.stitching.v2.MergedTypeConfig>
"subschemaNameToSubschemaConfig": map<string, .envoy.config.resolver.stitching.v2.StitchingInfo.SubschemaConfig>

Field Type Description
fieldNodesByType map<string, .envoy.config.resolver.stitching.v2.FieldNodes>
fieldNodesByField map<string, .envoy.config.resolver.stitching.v2.FieldNodeMap>
mergedTypes map<string, .envoy.config.resolver.stitching.v2.MergedTypeConfig>
subschemaNameToSubschemaConfig map<string, .envoy.config.resolver.stitching.v2.StitchingInfo.SubschemaConfig>

SubschemaConfig

"executableSchema": .envoy.config.filter.http.graphql.v2.ExecutableSchema

Field Type Description
executableSchema .envoy.config.filter.http.graphql.v2.ExecutableSchema

StitchingResolver

Config for the stitching resolver

"subschemaName": string

Field Type Description
subschemaName string Each query field comes from a specific subschema, this is the name of the subschema that the query field comes from.