Update to json-patch 4.8.0

This commit is contained in:
Jordan Liggitt
2020-08-08 09:53:56 -04:00
parent f5334fad48
commit cc6814f83c
35 changed files with 111 additions and 65 deletions

View File

@@ -311,7 +311,12 @@ func matchesValue(av, bv interface{}) bool {
return false
}
for key := range bt {
if !matchesValue(at[key], bt[key]) {
av, aOK := at[key]
bv, bOK := bt[key]
if aOK != bOK {
return false
}
if !matchesValue(av, bv) {
return false
}
}