This commit is contained in:
Alexey Strukov 2025-01-23 13:07:01 +01:00 committed by GitHub
commit 1d6fe81b9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1076,6 +1076,9 @@ class object : public schema
a_prop_or_pattern_matched = true;
schema_p->second->validate(ptr / p.key(), p.value(), patch, e);
}
else {
patch.remove(ptr / p.key());
}
#ifndef NO_STD_REGEX
// check all matching patternProperties