gqlgen: github.com/99designs/gqlgen/plugin Index | Files | Directories

package plugin

import "github.com/99designs/gqlgen/plugin"

Index

Package Files

plugin.go

type CodeGenerator Uses

type CodeGenerator interface {
    GenerateCode(cfg *codegen.Data) error
}

type ConfigMutator Uses

type ConfigMutator interface {
    MutateConfig(cfg *config.Config) error
}

type EarlySourceInjector Uses

type EarlySourceInjector interface {
    InjectSourceEarly() *ast.Source
}

EarlySourceInjector is used to inject things that are required for user schema files to compile.

type LateSourceInjector Uses

type LateSourceInjector interface {
    InjectSourceLate(schema *ast.Schema) *ast.Source
}

LateSourceInjector is used to inject more sources, after we have loaded the users schema.

type Plugin Uses

type Plugin interface {
    Name() string
}

Directories

PathSynopsis
federation
federation/fedruntime
modelgen
modelgen/out
resolvergen
servergen
stubgen

Package plugin imports 3 packages (graph) and is imported by 39 packages. Updated 2020-08-02. Refresh now. Tools for package owners.