Open SZanko opened 2 months ago
Micronaut does serialize ExampleDto correctly with values from request
An instance of ExampleDto is created but the values of the field is null
logs:
Received Tour: null, Duration: null
gradle run
curl -X POST http://localhost:8080/example \ -H "Content-Type: application/json" \ -d '{ "name": "City Tour", "duration": "PT2H30M" }'
https://github.com/SZanko/MicronautJavaTimeSerializationTest
4.6.0
Please include a test in your project that reproduces the problem
Expected Behavior
Micronaut does serialize ExampleDto correctly with values from request
Actual Behaviour
An instance of ExampleDto is created but the values of the field is null
logs:
Steps To Reproduce
gradle run
Environment Information
Example Application
https://github.com/SZanko/MicronautJavaTimeSerializationTest
Version
4.6.0