[CSHARP-3630] Driver does not allow executing aggregations at the document level Created: 29/Apr/21  Updated: 28/Oct/23  Resolved: 25/Oct/21

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

Type: Bug Priority: Unknown
Reporter: Geasi Puozzo Assignee: Robert Stam
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible

 Comments   
Comment by Robert Stam [ 25/Oct/21 ]

This issue has been fixed in the new LINQ provider (known as LINQ3) which will be included in the upcoming 2.14 release.

Configure your MongoClientSettings to use LinqProvider.V3 if you want to use this functionality.

To configure a client to use the LINQ3 provider use code like the following

var connectionString = "mongodb://localhost";
var clientSettings = MongoClientSettings.FromConnectionString(connectionString);
clientSettings.LinqProvider = LinqProvider.V3;
var client = new MongoClient(clientSettings);

Comment by Githook User [ 25/Oct/21 ]

Author:

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

Message: CSHARP-3630: Refactor exactly what needs to be tested.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/97f6a9f85cd9bdb23ca508e693d6271ea4460763

Comment by Esha Bhargava [ 03/May/21 ]

geasimarcos@gmail.com This will be fixed in the new LINQ implementation. Moving this to our backlog until the new implementation is committed to the main branch.

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