Validation errors for $expr should report result of evaluation, not result after coercion to a boolean

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query 2020-10-19, Query 2020-11-02
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, document validation errors for $expr will report the 'expressionResult' as the result of the expression after being coerced to bool, when it should report the value returned from expression evaluation.

            Assignee:
            Mindaugas Malinauskas (Inactive)
            Reporter:
            Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: