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);
|
||||
|
||||
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));
|
||||
} else {
|
||||
result.push((key.to_string(), false));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue