[CSHARP-3924] Support Tuples in LINQ3 Created: 20/Oct/21  Updated: 28/Oct/23  Resolved: 29/Oct/22

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

Type: Task Priority: Unknown
Reporter: Boris Dogadov Assignee: Robert Stam
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CSHARP-3922 LINQ3: support calls to constructors ... Closed

 Description   

queryable.Select(x => new Tuple<...>(...)) result in NRE.
Works in LINQ2.



 Comments   
Comment by Robert Stam [ 29/Oct/22 ]

This was fixed by CSHARP-3922.

Comment by Githook User [ 29/Oct/22 ]

Author:

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

Message: CSHARP-3924: Verify that current version of LINQ3 works with Tuples.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/741157bf3eae1f12c13b77d372ccb758af06ddb9

Comment by Robert Stam [ 20/Oct/21 ]

This looks like another special case of CSHARP-3922, where the class being constructed this time is a Tuple.

We should solve CSHARP-3922 first and then come back to this ticket and see if there is anything left to do.

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