add a todo

This commit is contained in:
filifa 2024-07-11 21:53:37 -05:00
parent 1b133fa865
commit fdc71057eb
1 changed files with 3 additions and 1 deletions

View File

@ -99,7 +99,9 @@ func patch(obj any, path string, value any) error {
}
func (f *FeedResponse) Patch(instr *instruction) {
log.Println("updating %v to %v", instr.Path, instr.Value)
// TODO: need to handle each type of instruction separately: add,
// replace, remove, copy, move
log.Println("updating", instr.Path, "to", instr.Value)
err := patch(f, instr.Path, instr.Value)
if err != nil {
log.Println(err)