You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As was reported in # #6115 there is a breaking change in Entity Framework Core 9. If you run Elsa 2 in a project and target .net 9 you will get this exception:
System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<Int32> Microsoft.EntityFrameworkCore.RelationalQueryableExtensions.ExecuteDeleteAsync(System.Linq.IQueryable`1<!!0>, System.Threading.CancellationToken)'.
at async Task<long> Elsa.EntityFrameworkCore.Common.Store<TDbContext, TEntity>.DeleteWhereAsync(Func<IQueryable<TEntity>, IQueryable<TEntity>> query, CancellationToken cancellationToken)
at void System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<TStateMachine>(ref TStateMachine stateMachine)
at Task<long> Elsa.EntityFrameworkCore.Common.Store<TDbContext, TEntity>.DeleteWhereAsync(Func<IQueryable<TEntity>, IQueryable<TEntity>> query, CancellationToken cancellationToken)
at async ValueTask<long> Elsa.EntityFrameworkCore.Modules.Runtime.EFCoreWorkflowInboxMessageStore.DeleteManyAsync(WorkflowInboxMessageFilter filter, PageArgs pageArgs, CancellationToken cancellationToken)
at async Task Elsa.Workflows.Runtime.HostedServices.WorkflowInboxCleanupHostedService.CleanupExpiredMessages(CancellationToken cancellationToken)
at async Task Elsa.Workflows.Runtime.HostedServices.WorkflowInboxCleanupHostedService.ExecuteAsync(CancellationToken stoppingToken)
I think the solution is to add .net 9 as a target in Elsa 2.x, is that worked being planned or would you be willing to accept PRs with that change?
The text was updated successfully, but these errors were encountered:
As was reported in # #6115 there is a breaking change in Entity Framework Core 9. If you run Elsa 2 in a project and target .net 9 you will get this exception:
I think the solution is to add .net 9 as a target in Elsa 2.x, is that worked being planned or would you be willing to accept PRs with that change?
The text was updated successfully, but these errors were encountered: