MCPcopy
hub / github.com/dgraph-io/dgraph / RequestResolver

Struct RequestResolver

graphql/resolve/resolver.go:87–90  ·  view source on GitHub ↗

RequestResolver can process GraphQL requests and write GraphQL JSON responses. A schema.Request may contain any number of queries or mutations (never both). RequestResolver.Resolve() resolves all of them by finding the resolved answers of the component queries/mutations and joining into a single sch

Source from the content-addressed store, hash-verified

85// RequestResolver.Resolve() resolves all of them by finding the resolved answers
86// of the component queries/mutations and joining into a single schema.Response.
87type RequestResolver struct {
88 schema schema.Schema
89 resolvers ResolverFactory
90}
91
92// A resolverFactory is the main implementation of ResolverFactory. It stores a
93// map of all the resolvers that have been registered and returns a resolver that

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected