RelationalQueryableExtensions.ExecuteDeleteAsync method not found #24
-
Which version of Duende IdentityServer are you using? Which version of .NET are you using? Describe the bug Exception removing expired grants: Method not found: 'System.Threading.Tasks.Task Seems like the method is no longer present in version 9.0x of the EF Core libraries:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 23 replies
-
I found the method in a different namespace in 9.0.1: Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ExecuteDeleteAsync() |
Beta Was this translation helpful? Give feedback.
-
(note: we're moving this issue to our new community discussions) |
Beta Was this translation helpful? Give feedback.
That seems like a proper solution. Unfortunately there is a change between EF Core 8.0 and 9.0 that is not breaking at the code level, but does cause a binary breaking change (dotnet/efcore#35105).
Working around this would not be trivial (we tried a few approaches all with different drawbacks). We'd recommend right now to use IdentityServer with EF Core 8 on net8, and IdentityServer with EF Core 9 on net9 (or as you did, implement another solution).
We'll likely change the dependency definition in a future IdentityServer release.