[CSHARP-4550] NewExpression and MemberInitExpression behaviour differs Created: 28/Feb/23 Updated: 28/Oct/23 Resolved: 23/May/23 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | LINQ3 |
| Affects Version/s: | None |
| Fix Version/s: | 2.19.2 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | James Kovacs | Assignee: | Oleksandr Poliakov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Documentation Changes: | Not Needed | ||||||||||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||||||||||
| Description |
|
Following on from The desired behaviour is that:
(using MemberInitExpressionToAggregationExpressionTranslator) should work similarly to:
(using NewExpressionToAggregationExpressionTranslator). Adding an optional MemberInit expression shouldn't cause the projection to fail.
|
| Comments |
| Comment by Githook User [ 24/May/23 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Githook User [ 24/May/23 ] |
|
Author: {'name': 'Oleksandr Poliakov', 'email': '31327136+sanych-sun@users.noreply.github.com', 'username': 'sanych-sun'}Message: |
| Comment by Githook User [ 24/May/23 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Githook User [ 23/May/23 ] |
|
Author: {'name': 'Oleksandr Poliakov', 'email': '31327136+sanych-sun@users.noreply.github.com', 'username': 'sanych-sun'}Message: |