(ctx context.Context, update *pb.TypeUpdate, ts uint64)
| 329 | } |
| 330 | |
| 331 | func runTypeMutation(ctx context.Context, update *pb.TypeUpdate, ts uint64) error { |
| 332 | current := proto.Clone(update).(*pb.TypeUpdate) |
| 333 | schema.State().SetType(update.TypeName, current) |
| 334 | return updateType(update.TypeName, update, ts) |
| 335 | } |
| 336 | |
| 337 | // We commit schema to disk in blocking way, should be ok because this happens |
| 338 | // only during schema mutations or we see a new predicate. |
no test coverage detected
searching dependent graphs…