We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue with migrations tool attempting to alter string enum property on every add-migration step when using HasConversion<string>().
add-migration
HasConversion<string>()
.HasConversion<string>()
https://github.com/dubs999/efcore-string-enum-bug
EF Core version: 2.1.0-preview-1 Database Provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer) Operating system: IDE: (e.g. Visual Studio 2017 15.4)
The text was updated successfully, but these errors were encountered:
Related to #11297. Snapshot should contain .IsRequired() on the converted property.
.IsRequired()
Sorry, something went wrong.
bricelam
No branches or pull requests
Issue with migrations tool attempting to alter string enum property on every
add-migration
step when usingHasConversion<string>()
.Steps to reproduce
.HasConversion<string>()
to the model builderRepro
https://github.com/dubs999/efcore-string-enum-bug
Further technical details
EF Core version: 2.1.0-preview-1
Database Provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Operating system:
IDE: (e.g. Visual Studio 2017 15.4)
The text was updated successfully, but these errors were encountered: