Require ExpressionContext before creation of CanonicalQuery

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently it is possible to pass a null expression context to CanonicalQuery::canonicalize(). If this happens, CanonicalQuery will create one for you. This behavior is confusing and bug-prone. Instead, operations should create an ExpressionContext up front and thread it through the places which need it.

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: