Skip to content

Commit f35d20a

Browse files
authored
fix: property removal is a breaking change if additionalProperties is false (#3)
1 parent 7bd5fe3 commit f35d20a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ impl ChangeKind {
6868
Self::PropertyRemove {
6969
lhs_additional_properties,
7070
..
71-
} => *lhs_additional_properties,
71+
} => !*lhs_additional_properties,
7272
}
7373
}
7474
}

0 commit comments

Comments
 (0)