Documentation
¶
Overview ¶
Package graphwire generates an application's graph resolver root from the plugin manifests and SDL of every directory under each configured plugin root.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// ExecImport is the gqlgen exec package declaring ResolverRoot.
ExecImport string
// CoreImport is the package exporting the core resolver sets.
CoreImport string
// CoreSchemaGlobs locate the core SDL files relative to the root.
CoreSchemaGlobs []string
// WiringPath is the generated file destination relative to the root.
WiringPath string
// License is the SPDX identifier of the generated header.
License string
// Package names the generated package, exporting its identifiers and
// the FromPlugins assembler. Empty generates an unexported package main.
Package string
// SDKImport is the package declaring the plugin interface, required
// with Package for the FromPlugins assembler.
SDKImport string
// Roots lists the plugin root directories scanned in order, empty scanning plugins.
Roots []string
}
Config parameterizes the resolver root generation for the consuming application.
Click to show internal directories.
Click to hide internal directories.