builder

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunBuild

func RunBuild() error

RunBuild performs the full import generation, schema copying, gqlgen generation, custom resolver stitching, and core compilation.

func RunCodegen

func RunCodegen() error

RunCodegen scans modules implementing GraphQLProvider, aggregates queries/mutations/fields, and regenerates resolver implementations.

Types

type GoModuleInfo

type GoModuleInfo struct {
	Path string
	Dir  string
}

type ModuleInfo

type ModuleInfo struct {
	Name       string
	ImportPath string
	StructName string
	Queries    map[string]string
	Mutations  map[string]string
	Fields     map[string]map[string]string
}

type ResolverInterface

type ResolverInterface struct {
	Name    string
	Methods []ResolverMethod
}

type ResolverMethod

type ResolverMethod struct {
	Name      string
	Params    string
	Results   string
	CleanName string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL