[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:
Depends
is depended on by CSHARP-3320 LINQ3: Move GroupBy accumulators back... Closed
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.


Generated at Wed Feb 07 21:46:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.