MCPcopy Create free account
hub / github.com/devfullcycle/goexpert / NewExecutableSchema

Function NewExecutableSchema

13-GraphQL/graph/generated/generated.go:24–30  ·  view source on GitHub ↗

region ************************** generated!.gotpl ************************** NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.

(cfg Config)

Source from the content-addressed store, hash-verified

22
23// NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
24func NewExecutableSchema(cfg Config) graphql.ExecutableSchema {
25 return &executableSchema{
26 resolvers: cfg.Resolvers,
27 directives: cfg.Directives,
28 complexity: cfg.Complexity,
29 }
30}
31
32type Config struct {
33 Resolvers ResolverRoot

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected