-
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
Move compiled model tests to EFCore.Specification.Tests #32341
Conversation
abf4c18
to
1e5f145
Compare
1e5f145
to
f44192f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐑 🇮🇹
.HasOriginalValueParameter(p => p.Id)); | ||
eb.DeleteUsingStoredProcedure( | ||
s => s | ||
.HasRowsAffectedReturnValue() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AndriySvyryd this means EFCore.PG can't test for TPC, since return values from sprocs are a SQL Server thing. Ideally, this test would only exercise functionality needed for TPC, and sproc testing would be exercised by another test etc.
Same for the ComplexTypes test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you think there's EFCore.PG-specific functionality that could be covered by this then file an issue please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's more about making the Tpc and ComplexTypes tests runnable on EFCore.PG (i.e. making them not use sprocs with return values, ideally not sprocs at all). I'll indeed want to look at opportunities for covering some PG functionality, but that's separate...
Anyway, opened #33075.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix NRT annotations for the
ComplexProperty
fluent API.Add validation for sentinel values.
Scaffold unmapped default values for flags enum correctly.
Part of #32315