Describe the bug
In F#, when an http handler returns an int value (whether int or Task), the body of the handler is correctly executed but no response is ever returned to the client :
- the browser client is waiting for the response to complete,
- while in postman i see that an empty response is returned and it complains that the response is not valid.
The problem does not occur if i cast the value to decimal.
To Reproduce
[<WolverinePost("/api/test")>]
let myTestHandler() =
let myValue : int = 5
myValue
Expected behavior
A response is returned to the client.
Screenshots
N/A
Desktop (please complete the following information):
- OS: Linux
- Browser: Firefox/Postman
- Version: Wolverine 3.10.0
Additional context
N/A
Describe the bug
In F#, when an http handler returns an int value (whether int or Task), the body of the handler is correctly executed but no response is ever returned to the client :
The problem does not occur if i cast the value to decimal.
To Reproduce
Expected behavior
A response is returned to the client.
Screenshots
N/A
Desktop (please complete the following information):
Additional context
N/A