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

Struct adminExecutor

graphql/resolve/resolver.go:129–131  ·  view source on GitHub ↗

adminExecutor is an implementation of both QueryExecutor and MutationExecutor that proxies query resolution through Query method in dgraph server, and it doesn't require authorization. Currently it's only used for querying gqlschema during init.

Source from the content-addressed store, hash-verified

127// it doesn't require authorization. Currently it's only used for querying
128// gqlschema during init.
129type adminExecutor struct {
130 dg *dgraph.DgraphEx
131}
132
133// A Resolved is the result of resolving a single field - generally a query or mutation.
134type Resolved struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected