removeAdditional
should only remove properties if the schema is valid
#552
Labels
removeAdditional
should only remove properties if the schema is valid
#552
For the following schema, validation fails when
removeAdditional
is used. The issue is that the propertyb
is removed when testing the first schema, and then the validation of the second schema fails becauseb
no longer exists on the object. I propose thatremoveAdditional
would only mutate the data if it passes validation. Thoughts?The text was updated successfully, but these errors were encountered: