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

[6.0] Fix SQL Server NTS scaffolding code generation #26160

Merged
merged 1 commit into from
Sep 23, 2021

Conversation

roji
Copy link
Member

@roji roji commented Sep 23, 2021

Fixes #26133

Description

An incorrect type reference prevents scaffolding from working correctly when NetTopologySuite is used.

Customer impact

Customers cannot scaffold databases when using the NetTopologySuite spatial plugin.

How found

Customer

Regression

Yes

Testing

Test for this scenario added in the PR.

Risk

Very low, the fix is trivial and affects scaffolding only (no runtime impact)

@roji roji requested a review from a team September 23, 2021 14:35
roji added a commit to npgsql/efcore.pg that referenced this pull request Sep 23, 2021
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.

I reiterate my concern over testing/validation in this area.

@ajcvickers ajcvickers changed the title Fix SQL Server NTS scaffolding code generation [6.0] Fix SQL Server NTS scaffolding code generation Sep 23, 2021
@ajcvickers
Copy link
Contributor

@Pilchie

@roji
Copy link
Member Author

roji commented Sep 23, 2021

I reiterate my concern over testing/validation in this area.

This was indeed a change with some far-reaching consequences - I did do my best to proactively add test coverage etc., but clearly some things slipped through. I can look at the change again with fresh eyes to try to flush out more issues, though it may also be more productive if someone else helps with this.

@ajcvickers
Copy link
Contributor

@roji I'm thinking about. Let's discuss in triage tomorrow, assuming you're around.

@ErikEJ
Copy link
Contributor

ErikEJ commented Sep 23, 2021

Let me know if I can help in any way?

@roji
Copy link
Member Author

roji commented Sep 23, 2021

assuming you're around

I probably won't be (we can discuss earlier if you want)... But in any case am OK with whatever you decide.

@Pilchie
Copy link
Member

Pilchie commented Sep 23, 2021

Approved for EFCore 6.0

@roji roji merged commit 2bec43f into release/6.0 Sep 23, 2021
@roji roji deleted the roji/PluginScaffoldingProviderOptions branch September 23, 2021 18:52
roji added a commit to npgsql/efcore.pg that referenced this pull request Dec 22, 2021
roji added a commit to npgsql/efcore.pg that referenced this pull request Dec 22, 2021
roji added a commit to npgsql/efcore.pg that referenced this pull request Dec 22, 2021
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.

Cannot scaffold context with NetTopologySuite
4 participants