[CSHARP-4734] Throw an exception when an aggregation style projection is used with Find on servers prior to 4.4 Created: 27/Jul/23 Updated: 03/Aug/23 Resolved: 03/Aug/23 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | API, Command Operations, CRUD, Read Operations |
| Affects Version/s: | None |
| Fix Version/s: | 2.21.0 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Documentation Changes: | Not Needed |
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
| Description |
|
Currently when an aggregation style projection is executed with Find against a server prior to 4.4 the server silently returns the wrong results. Since silently returning the wrong results is bad, we can detect that an attempt is being made to use an aggregation style projection with a server that doesn't support that and throw an exception instead. |
| Comments |
| Comment by Githook User [ 03/Aug/23 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |