[CSHARP-4304] Handle conversion to an interface Created: 30/Aug/22 Updated: 28/Oct/23 Resolved: 07/Oct/22 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 2.17.1 |
| Fix Version/s: | 2.18.0 |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Damith G | 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 |
| Description |
|
the following exception is being thrown by linq v3 if a simple join query is performed within a generic method: > System.ArgumentException: 'Invalid toType: IEntity. (Parameter 'toType')' here's how to reproduce it: the classes
the program
this works perfectly fine with line v2. would highly appreciate a workaround until this can be fixed. thanks! |
| Comments |
| Comment by Githook User [ 07/Oct/22 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Dmitry Lukyanov (Inactive) [ 31/Aug/22 ] |
|
Thanks djnitehawk83@gmail.com for your report, we will look at it and come back to you. |