[CSHARP-4693] oDATA $matchesPattern support with LINQ3 Created: 27/Jun/23 Updated: 04/Jul/23 Resolved: 04/Jul/23 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Ching Hsu | Assignee: | Oleksandr Poliakov |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||
| Description |
SummaryMongoDB.Driver.Linq.ExpressionNotSupportedException Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster)."Microsoft.AspNetCore.OData" Version="8.0.12" "MongoDB.Driver" Version="2.20.0" MongoDB 5.0.6 Community How to Reproducehttp://localhost:5163/odata/Analysis/Detail?$filter=matchesPattern(Gene,'(^|\;)KIR2DL2(\;|$)') Additional Backgroundexpression debug view .Else { (System.Nullable`1[System.Boolean]).Call System.Text.RegularExpressions.Regex.IsMatch( (System.String)$$it.Gene, "(^|\;)KIR2DL2(\;|$)", .Constant<System.Text.RegularExpressions.RegexOptions>(ECMAScript)) }== .Constant<System.Nullable`1[System.Boolean]>(True) |
| Comments |
| Comment by Oleksandr Poliakov [ 04/Jul/23 ] |
|
Hello fo40225@hotmail.com , This issue was already fixed in scope of https://jira.mongodb.org/browse/CSHARP-4698 the fix will be available in the nearest build. I'll close the ticket as duplicate, you can reference to the ticket above to check the progress.
Thanks, Oleksandr |
| Comment by PM Bot [ 27/Jun/23 ] |
|
Hi fo40225@hotmail.com, thank you for reporting this issue! The team will look into it and get back to you soon. |