[CSHARP-4656] Simplify A : "$A" to A : 1 only on find Created: 16/May/23  Updated: 29/Nov/23  Resolved: 24/May/23

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.19.2

Type: Bug Priority: Unknown
Reporter: Oleksandr Poliakov Assignee: Oleksandr Poliakov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done before CSHARP-4632 The memberinfo argument must be for c... Closed
Related
related to SERVER-77183 $project followed by $group gives inc... Closed
related to CSHARP-4860 2.19.1 -> 2.19.2 FindExpressionProjec... Closed
Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

As we run into the server issue with projection followed by group being working wrongly in case A : 1 form used, we have to workaround it with using A : "$A" projection. See related issue for more details.



 Comments   
Comment by Githook User [ 24/May/23 ]

Author:

{'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}

Message: CSHARP-4656: Fix failing test.
Branch: v2.19.x
https://github.com/mongodb/mongo-csharp-driver/commit/83e9f29b292ddb479a33c51d59b36f7e0eb238c7

Comment by Githook User [ 24/May/23 ]

Author:

{'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}

Message: CSHARP-4656: Fix failing test.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/90a5109451b2ba56b8715bc651fb255c6d919d3e

Comment by Githook User [ 24/May/23 ]

Author:

{'name': 'Oleksandr Poliakov', 'email': '31327136+sanych-sun@users.noreply.github.com', 'username': 'sanych-sun'}

Message: CSHARP-4656 Simplify A : "$A" to A : 1 only on find (#1087)
Branch: v2.19.x
https://github.com/mongodb/mongo-csharp-driver/commit/1ef7dd3fb7fe2d9c52f51ef48b598aff41795f43

Comment by Githook User [ 24/May/23 ]

Author:

{'name': 'Oleksandr Poliakov', 'email': '31327136+sanych-sun@users.noreply.github.com', 'username': 'sanych-sun'}

Message: CSHARP-4656 Simplify A : "$A" to A : 1 only on find (#1087)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/2cf3d6ca7838cf8fe6b5a5afc88604ac955b6e5e

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