GetWriteContext returns a context that sets the schema context for writing.
(ctx context.Context)
| 46 | |
| 47 | // GetWriteContext returns a context that sets the schema context for writing. |
| 48 | func GetWriteContext(ctx context.Context) context.Context { |
| 49 | return context.WithValue(ctx, IsWrite, true) |
| 50 | } |
| 51 | |
| 52 | func (s *state) init() { |
| 53 | s.predicate = make(map[string]*pb.SchemaUpdate) |
no outgoing calls
no test coverage detected