Skip to content
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

Merged
merged 3 commits into from
Nov 21, 2023
Merged

Conversation

AndriySvyryd
Copy link
Member

@AndriySvyryd AndriySvyryd commented Nov 18, 2023

Fix NRT annotations for the ComplexProperty fluent API.
Add validation for sentinel values.
Scaffold unmapped default values for flags enum correctly.

Part of #32315

Copy link
Contributor

@ajcvickers ajcvickers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐑 🇮🇹

@AndriySvyryd AndriySvyryd merged commit b385818 into main Nov 21, 2023
7 checks passed
@AndriySvyryd AndriySvyryd deleted the Issue32315 branch November 21, 2023 19:21
.HasOriginalValueParameter(p => p.Id));
eb.DeleteUsingStoredProcedure(
s => s
.HasRowsAffectedReturnValue()
Copy link
Member

@roji roji Feb 11, 2024

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.

Copy link
Member Author

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

Copy link
Member

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same issue for Pomelo. Following up in #33075 opened by @roji.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants