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

Method WithMutationMiddlewareConfig

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

WithMutationMiddlewareConfig adds the configuration to use to apply middlewares before resolving mutations. The config should be a mapping of the name of mutation to its middlewares.

(config map[string]MutationMiddlewares)

Source from the content-addressed store, hash-verified

68 // resolving mutations. The config should be a mapping of the name of mutation to its
69 // middlewares.
70 WithMutationMiddlewareConfig(config map[string]MutationMiddlewares) ResolverFactory
71
72 // WithSchemaIntrospection adds schema introspection capabilities to the factory.
73 // So __schema and __type queries can be resolved.

Callers 1

newAdminResolverFactoryFunction · 0.65

Implementers 1

resolverFactorygraphql/resolve/resolver.go

Calls

no outgoing calls

Tested by

no test coverage detected