From the moment I want to deserialize a NodaTime LocalTime in a WebApi request, I get a InsufficientExecutionStackException... (LocalDate works fine)
Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space
Sample request and exception: http://prntscr.com/8emw3q
Code that reproduces the problem (literal copy paste that results in screenshot above):
public class TimeController : ApiController
{
[HttpPost, Route("api/time")]
public IHttpActionResult Post(Req req)
{
return Ok(new {test = "ok"});
}
}
public class Req
{
public LocalTime Time { get; set; }
}