package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Oct 20, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ArgMapping struct {
TargetArgName string `json:"targetArgName"`
ProviderKey string `json:"providerKey"`
SchemaID string `json:"schemaId"`
SourceArgPath string `json:"sourceArgPath"`
TargetArgPath string `json:"targetArgPath"`
}
type Argument struct {
ArgName string `json:"argName"`
ArgMappings []*ArgMapping `json:"argMappings"`
}
type FieldMapping struct {
Name string `json:"fieldName"`
Arguments []*Argument `json:"arguments"`
SubFields []*FieldMapping `json:"subFields"`
}
type JSONError struct {
Message string `json:"message"`
Extensions map[string]interface{} `json:"extensions"`
}
Error implements the error interface (required)
type MappingAST struct {
Mappings []*FieldMapping `json:"mappings"`
ArgMapping []*ArgMapping `json:"argMappings"`
}
type Request struct {
Query string `json:"query"`
Variables map[string]interface{} `json:"variables,omitempty"`
OperationName string `json:"operationName,omitempty"`
}
Request GraphQLRequest represents a GraphQL request payload.
type Response struct {
Data map[string]interface{} `json:"data"`
Errors []interface{} `json:"errors,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.