[CSHARP-4586] Projections not retrieving expected fields after upgrading to 2.19 driver Created: 28/Mar/23 Updated: 28/Oct/23 Resolved: 05/Apr/23 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | LINQ3 |
| Affects Version/s: | None |
| Fix Version/s: | 2.19.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Paul Spangler | Assignee: | Robert Stam |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Documentation Changes: | Not Needed | ||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||
| Description |
| Comments |
| Comment by Githook User [ 18/May/23 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Githook User [ 05/Apr/23 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Robert Stam [ 30/Mar/23 ] |
|
One of the factors at play in this issue is that the View class was not automapped as expected because of the `init` property. I've worked around this in the LINQ code, but as a result of this investigation I've opened CSHARP-4591 to investigate whether we should always automap constructors. |
| Comment by Robert Stam [ 30/Mar/23 ] |
|
Thanks for providing a high quality sample reproduction. I have a fix in code review. |
| Comment by Robert Stam [ 28/Mar/23 ] |
|
Thanks for reporting this issue. I will look into it. |