change deep diff to accept iterated keys
This commit is contained in:
parent
8cf4d596f5
commit
4af7cabf73
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ impl Recipe {
|
||||||
let diff_field_list = sr.compare(ar);
|
let diff_field_list = sr.compare(ar);
|
||||||
|
|
||||||
for key in sr.to_map().keys() {
|
for key in sr.to_map().keys() {
|
||||||
if diff_field_list.contains(key) {
|
if diff_field_list.contains(key) || key.contains(".") {
|
||||||
result.push((key.to_string(), true));
|
result.push((key.to_string(), true));
|
||||||
} else {
|
} else {
|
||||||
result.push((key.to_string(), false));
|
result.push((key.to_string(), false));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue