testing updating a game type
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user