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
Host is disposed too early when running projection rebuild command.
using System.Threading.Tasks;using Oakton;namespace Marten.CommandLine.Commands.Projection;[Description("Marten's asynchronous projection and projection rebuilds")]publicclassProjectionsCommand:OaktonAsyncCommand<ProjectionInput>{publicoverrideTask<bool>Execute(ProjectionInputinput){usingvarhost= input.BuildHost();varcontroller=new ProjectionController(new ProjectionHost(host),new ConsoleView());// possibly should be awaited here?return controller.Execute(input);}}
The text was updated successfully, but these errors were encountered:
Host is disposed too early when running projection rebuild command.
The text was updated successfully, but these errors were encountered: