MutationResolverFunc is an adapter that allows to build a MutationResolver from a function. Based on the http.HandlerFunc pattern.
func(ctx context.Context, m schema.Mutation) (*Resolved, bool)
| 147 | // MutationResolverFunc is an adapter that allows to build a MutationResolver from |
| 148 | // a function. Based on the http.HandlerFunc pattern. |
| 149 | type MutationResolverFunc func(ctx context.Context, m schema.Mutation) (*Resolved, bool) |
| 150 | |
| 151 | // Resolve calls mr(ctx, mutation) |
| 152 | func (mr MutationResolverFunc) Resolve(ctx context.Context, m schema.Mutation) (*Resolved, bool) { |
no outgoing calls
no test coverage detected