change deep diff to accept iterated keys

This commit is contained in:
Pakin 2025-09-05 10:10:34 +07:00
parent 8cf4d596f5
commit 4af7cabf73

View file

@ -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));