I just created a simple .Net Core 2.0 Web App while using the ServiceStack.Core 1.0.44. While debugging I see that that my validator is getting called twice for each request. Looking at the call stack I do see that it gets invoked once by "ApplyRequestFilters" and the second time by "ApplyRequestFiltersAsync".
I guess that it is not the intended behaviour.
Can you provide a standalone sample application which shows the issue?
also have the issue that the Validator is getting instanziated two times for each request:
Within the solution start the Fbi.WebApp and call
while setting a Breakpoint at
At Line 33.
The validator is instantiated twice to determine whether it's an Async or a Sync filter but the validation logic itself is only executed once.