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

package resolvergen

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

Index

Package Files

resolver.go

func New Uses

func New() plugin.Plugin

type File Uses

type File struct {
    // These are separated because the type definition of the resolver object may live in a different file from the
    //resolver method implementations, for example when extending a type in a different graphql schema file
    Objects   []*codegen.Object
    Resolvers []*Resolver

    RemainingSource string
    // contains filtered or unexported fields
}

func (*File) Imports Uses

func (f *File) Imports() string

type Plugin Uses

type Plugin struct{}

func (*Plugin) GenerateCode Uses

func (m *Plugin) GenerateCode(data *codegen.Data) error

func (*Plugin) Name Uses

func (m *Plugin) Name() string

type Resolver Uses

type Resolver struct {
    Object         *codegen.Object
    Field          *codegen.Field
    Implementation string
}

type ResolverBuild Uses

type ResolverBuild struct {
    *File
    HasRoot      bool
    PackageName  string
    ResolverType string
}

Package resolvergen imports 9 packages (graph) and is imported by 5 packages. Updated 2020-07-30. Refresh now. Tools for package owners.