[CSHARP-3923] Improve exception message when using structs without custom serializers in linq expressions Created: 20/Oct/21 Updated: 27/Oct/23 Resolved: 01/Nov/22 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Linq, LINQ3 |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Unknown |
| Reporter: | Boris Dogadov | Assignee: | Robert Stam |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
For example queryable().Select(_ => new Struct(...)) results in NullReferenceException. |
| Comments |
| Comment by Robert Stam [ 01/Nov/22 ] |
|
Now that we support deserializing structs (as of |
| Comment by Robert Stam [ 20/Oct/21 ] |
|
This looks like another case of We should solve |