MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / WithQueryMiddlewareConfig

Method WithQueryMiddlewareConfig

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

WithQueryMiddlewareConfig adds the configuration to use to apply middlewares before resolving queries. The config should be a mapping of the name of query to its middlewares.

(config map[string]QueryMiddlewares)

Source from the content-addressed store, hash-verified

63 // WithQueryMiddlewareConfig adds the configuration to use to apply middlewares before resolving
64 // queries. The config should be a mapping of the name of query to its middlewares.
65 WithQueryMiddlewareConfig(config map[string]QueryMiddlewares) ResolverFactory
66
67 // WithMutationMiddlewareConfig adds the configuration to use to apply middlewares before
68 // resolving mutations. The config should be a mapping of the name of mutation to its

Callers 1

newAdminResolverFactoryFunction · 0.65

Implementers 1

resolverFactorygraphql/resolve/resolver.go

Calls

no outgoing calls

Tested by

no test coverage detected