-
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
Revisit model-snapshot for perf #18620
Comments
Note that this will likely mean that snapshots will need to be updated for major version upgrades and possibly minor ones. So we should consider #18557 at the same time |
Another idea I has was to only put the store model in the *.Designer.cs files, but this doesn't work since we need the full model when removing a migration. |
We believe this is best handled by squashing migrations: #2174 |
Re-open to consider using the relational model. |
At the beginning of EF Core we decided that we would use the fluent API in model snapshots rather than designing a new serialization format. (In other words, the fluent API is the way to serialize the model.) However, this can lead to a lot of code compiled for big models and when the number of migrations build up. See, for example, #18618.
We should consider:
The text was updated successfully, but these errors were encountered: