We could simplify a lot of JSON Schema expressions if we replaced AND expressions that include a contradiction with
{alwaysFalse: 1}and OR expression that contain a tautology with
{alwaysTrue: 1}.
- related to
-
SERVER-31360 MatchExpression::getOptimizer() for $or/$and should collapse equivalent clauses
- Closed