[CSHARP-4247] Permit empty objects as expressions in $set and $addFields aggregation stages Created: 11/Jul/22 Updated: 27/Oct/23 Resolved: 07/Sep/22 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | LINQ3 |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | PM Bot | Assignee: | James Kovacs |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Server Compat: | 6.1 | ||||
| Upstream Changes Summary: | DRIVERS-2374: |
||||
| Description |
|
This ticket was split from DRIVERS-2374, please see that ticket for a detailed description. |
| Comments |
| Comment by James Kovacs [ 07/Sep/22 ] |
|
The LINQ3 AST contains AstAddFieldsStage and AstSetStage, though we currently don't translate any LINQ constructs to these stages. Both stages allow computed fields set to empty documents. No work is required to support this feature when these stages are supported. |