I'm using v3.9.56.0 and I'm encountering a stack overflow exception when I call ToOptimizedResult
(Called from my own service runner) on a returned HttpResult
from a service. When I dig deeper I found the exception was coming from the JsonSerializer
.
Here is the snippet of code for what is being returned:
return new HttpResult(new FileInfo(Path.Combine(path, file)), true)