Closed cowtowncoder closed 7 months ago
Looks like case like follows:
static class Bean { @JsonCreator public Bean(@JsonProperty(required=true) int id, @JsonProperty(required=false) String name) { // ... } }
fails with empty "name" (value attribute with default) masking implicit name that ParameterNamesModule provides. It shouldn't.
value
ParameterNamesModule
Actually, turns out this actually works: whether due to recent change in jackson-databind or not. Closing: leaving passing test to protect against regression.
jackson-databind
Looks like case like follows:
fails with empty "name" (
value
attribute with default) masking implicit name thatParameterNamesModule
provides. It shouldn't.