$or should detect if it has no children during serialization

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.0-rc0
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • ALL
    • Query 2017-09-11, Query 2017-10-02
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When $and is serialized, it detects if it has no children to avoid serializing to something that would fail to parse during reserialization.

      $or does not have this check, but it should. Presumably it should serialize an $alwaysFalse match expression.

            Assignee:
            Blake Oler
            Reporter:
            Kyle Suarez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: