testing updating a game type

This commit is contained in:
filifa
2024-07-03 23:52:40 -05:00
parent 9ebb5bf610
commit def18e04e2
3 changed files with 33 additions and 16 deletions

View File

@@ -76,6 +76,7 @@ func patch(obj any, path string, value any) error {
if err != nil {
break
}
// FIXME: think i need to do bounds checking here too
err = patch(v[idx], rest, value)
default:
err = errors.New("couldn't determine type")