If a before handler returns an IResult in a command handler class, during code generation, handler class gets written but then immediately errors out with the message: Lamar was unable to resolve a variable of type Microsoft.AspNetCore.Http.HttpContext as part of the method...
If a before handler returns an IResult in a command handler class, during code generation, handler class gets written but then immediately errors out with the message: Lamar was unable to resolve a variable of type Microsoft.AspNetCore.Http.HttpContext as part of the method...
See this gist to reproduce.
This issue occurs in both the latest V2 and V3 versions of Wolverine.