You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with this example project micronaut-jpa-hibernate-maven-java and switching from Jackson Annotations & Jackson Core to JSON-B Annotations & JSON-P in accordance with Micronaut Serialization a controller call that looks like this
Should return a valid response when calling curl http://localhost:8080/genres/list?sort=name
Actual Behaviour
Instead, the following response is returned:
{"message":"Bad Request","_links":{"self":[{"href":"/genres/list?sort=name","templated":false}]},"_embedded":{"errors":[{"message":"Failed to convert argument [args] for value [null] due to: Cannot deserialize String sort due to: Not a string","path":"/args"}]}}
Expected Behavior
Starting with this example project micronaut-jpa-hibernate-maven-java and switching from Jackson Annotations & Jackson Core to JSON-B Annotations & JSON-P in accordance with Micronaut Serialization a controller call that looks like this
Should return a valid response when calling
curl http://localhost:8080/genres/list?sort=name
Actual Behaviour
Instead, the following response is returned:
Steps To Reproduce
curl http://localhost:8080/genres/list?sort=name
Using maven, this works:
and this does not work:
Environment Information
OS: Microsoft Windows 10
JAVA: openjdk version "13.0.2" 2020-01-14
Example Application
https://github.com/ckapop/micronaut-jpa-hibernate-maven-java-jsonp-jsonb
Version
3.8.4
The text was updated successfully, but these errors were encountered: