[CSHARP-3835] LINQ3: Change type of As property of AstMapExpression from string to AstVarExpression Created: 06/Sep/21 Updated: 28/Oct/23 Resolved: 04/Oct/21 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | LINQ3 |
| Affects Version/s: | None |
| Fix Version/s: | 2.14.0 |
| Type: | Task | Priority: | Unknown |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | CSHARP-2608 | ||||||||
| Description |
|
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. |