DatabaseDeveloperPage is not shown for pending model changed by default with EF 9.0
Open
area-middleware
feature-diagnostics
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
EF 9 now throws an exception by default when `MigrateAsync` is called when there are pending model changes and this isn't detected by DatabaseDeveloperPage.
As a workaround, it can be configured to just log a message, see https://github.com/dotnet/aspnetcore/pull/57060/commits/c7cc6eba2c60e11f359b429a01fa0554e8975cf7
### Expected Behavior
Consider special-casing this exception.
### Steps To Reproduce
_No response_
### Exceptions (if any)
_No response_
### .NET Version
9.0-rc1
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.