Currently, the object mapper can only inject into record classes and fields of classes. To ease the creation of immutable objects, we should generalize the constructor injection performed by the record field discoverer to support any object, where the target constructor is annotated with @Setting.
Currently, the object mapper can only inject into
recordclasses and fields of classes. To ease the creation of immutable objects, we should generalize the constructor injection performed by therecordfield discoverer to support any object, where the target constructor is annotated with@Setting.