Closed erkieh closed 3 months ago
For further investigation: Issue seems to be caused by changes to micronaut-serde-support in commit e016e4e94d82674eef8aa6d96758cd59ec451846 on April 2 2024, released in 2.9.0.
Can be verified by downgrading io.micronaut.serde:micronaut-serde-support in example app to 2.8.2:
plugins {
id("io.spring.dependency-management") version "1.1.5"
}
dependencyManagement {
dependencies {
dependency("io.micronaut.serde:micronaut-serde-support:2.8.2")
}
}
Expected Behavior
BAD_REQUEST response with full path to nested field as was the case with 4.3.8
Actual Behaviour
NullPointerException with information only about the nested field name
Steps To Reproduce
run test
Environment Information
win 10 java 21
Example Application
git@github.com:erkieh/demovalidationerror.git
Version
4.4.3