-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test with VB/F# to make sure expression tree differences are handled #14572
Comments
These re-linq transformations handled things like this. |
Note from triage: add a cross-language functional tests project. |
I've added a VB test suite with coverage for things that we've fixed (string comparisons and checked arithmetic). We still have a few known bugs:
But I think we can say that the VB part of this issue is done. |
Hi, Is there any news regarding this problem? We are testing with EF 8 and still encounter the same problems. Thank you |
@gaglia this is a general issue tracking improving testing for VB/F# - please vote on specific translation issues so that we know what you're blocked by. See the issues linked to just above; if you're running into something that isn't already covered, please open a new issue with a minimal code sample that shows the problematic query. |
- Added the project EFCore.FSharp.FunctionalTests - Created a fixture for the Northwind database - Implemented a sample test analogous to the Visual Basic tests Fixes dotnet#14572
I created a test project for F# in #34541. I don't know of any issues concerning difference in syntax trees with F# so I created a sample test. Are any issues known that I could test? |
@koenigst I don't think we're aware of any specific problems, but then again EF has generally received little usage under F#, so it may be that the issues haven't been discovered/reported yet... |
- Added the project EFCore.FSharp.FunctionalTests - Created a fixture for the Northwind database - Implemented a sample test analogous to the Visual Basic tests Fixes #14572
@koenigst The area-F# label and efcore/EFCore.FSharp repo might have a few known issues in them. |
Ah, interesting... So it seems that the EFCore.FSharp package has actual method translators to take care of some F# expression tree variance. I'd need to look (and probably discuss with the team), but I think we should consider bringing these into EF itself (we already have various normalization support for VB.NET constructs in the box). These also may make more sense as preprocessing normalization rather than a method translators. Otherwise, for the time being, it seems that EFCore.FSharp is necessary for proper query translation of some constructs, so I think it makes sense to take a dependency on it from the F# functional test project - you can go ahead and do that. |
FYI opened #34552 to track moving the query translation stuff from EFCore.FSharp into EF. |
The package I will mention the two solved issues in #34552 and not pursue them here. |
This is in particular reference to removal of Relinq since it was doing some normalization in this area.
The text was updated successfully, but these errors were encountered: