Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3835

LINQ3: Change type of As property of AstMapExpression from string to AstVarExpression

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.14.0
    • Affects Version/s: None
    • Component/s: LINQ3
    • Labels:
      None

      Because we need to be able to rewrite the In clause of an AstMapExpression we need to know the AstVarExpression used for the As variable, and we need to ensure that inside the In clause that all references to the As variable use the exact same instance for the AstVarExpression that is the value of the As property so that it can be replaced using reference equality only.

      This is also one of the main motivators for adding the Expression property to Symbol.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: