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

Struct authExecutor

graphql/resolve/auth_test.go:69–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69type authExecutor struct {
70 t *testing.T
71 state int
72
73 // existence query and its result in JSON
74 dgQuery string
75 queryResultJSON string
76
77 // initial mutation
78 dgQuerySec string
79 // json is the response of the query following the mutation
80 json string
81 uids string
82
83 // auth
84 authQuery string
85 authJson string
86
87 skipAuth bool
88}
89
90func (ex *authExecutor) Execute(ctx context.Context, req *dgoapi.Request,
91 field schema.Field) (*dgoapi.Response, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected