-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
most-wantedTag to indicate that there is heavy user +1'ing actionTag to indicate that there is heavy user +1'ing action
Milestone
Description
class Foo {
private final Bar bar;
Foo(Bar bar) {
this.bar = bar;
}
}
With the parameter-names-module enabled I'd expect this class to be correctly deserialized from {"bar":{...}}
.
More than once have users hit this issue and asked why isn't it handled this way (#1135, #8, #21).
It might also be a good idea to provide an option to change this behavior (HANDLE_SINGLE_ARG_CONSTRUCTOR_AS_PROPERTY_CREATOR).
theigl, louhow, ahilsend, myhau, izebit and 30 more
Metadata
Metadata
Assignees
Labels
most-wantedTag to indicate that there is heavy user +1'ing actionTag to indicate that there is heavy user +1'ing action