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

Struct dgraphResolver

graphql/resolve/mutation.go:169–172  ·  view source on GitHub ↗

mutationResolver can resolve a single GraphQL mutation field

Source from the content-addressed store, hash-verified

167
168// mutationResolver can resolve a single GraphQL mutation field
169type dgraphResolver struct {
170 mutationRewriter MutationRewriter
171 executor DgraphExecutor
172}
173
174func (mr *dgraphResolver) Resolve(ctx context.Context, m schema.Mutation) (*Resolved, bool) {
175 span := trace.SpanFromContext(ctx)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected