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

[5.0.3] Flow through the column types in MigrationBuilder.InsertData #23614

Merged
merged 2 commits into from
Jan 13, 2021

Conversation

AndriySvyryd
Copy link
Member

@AndriySvyryd AndriySvyryd commented Dec 8, 2020

Fixes #23503

Note for Tactics

This was rejected for 5.0.2 due to concerns that it might not impact many customers. We now have multiple customer reports (4+) so we're brining it back for 5.0.3.

Description

MigrationBuilder.InsertData was not passing through the column types parameter to the underlying method.

Customer Impact

Creating a migration that adds data to a table that is not mapped in the model will fail. The workaround would be to use internal API.

How found

Customer reported on 5.0.0.

Test coverage

We have added more test coverage in this PR.

Regression?

No, this overload of InsertData is new in 5.0

Risk

Low. Only affects new API that is seldomly used.

@ajcvickers
Copy link
Member

@AndriySvyryd I assume Servicing-approved is a mistake here?

@ajcvickers
Copy link
Member

Tactics would like us to wait for more customer reports on this one given that this, "only affects new API that is seldomly used."

@ajcvickers ajcvickers removed this from the 5.0.x milestone Dec 8, 2020
@AndriySvyryd
Copy link
Member Author

Tactics would like us to wait for more customer reports on this one given that this, "only affects new API that is seldomly used."

Ok. Any time it's used it will fail.

@ajcvickers
Copy link
Member

@AndriySvyryd If we get more customer reports we can take it in the next patch.

@AndriySvyryd
Copy link
Member Author

@ajcvickers That's fine, I'm not pushing back

@AndriySvyryd AndriySvyryd changed the title [5.0.2] Flow through the column types in MigrationBuilder.InsertData [5.0.3] Flow through the column types in MigrationBuilder.InsertData Dec 11, 2020
@ajcvickers ajcvickers added this to the 5.0.x milestone Dec 15, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants