Skip to content

[Enhancement] Make setBeanProperties to not depend on it field type. #53

@NemesisMate

Description

@NemesisMate

The field dependency for the bean property way is great to allow making the bean transient (it isn't currently working, and I wonder if it is intended to) but with this it is impossible to make some tricks as set a String and then, in the getter/setter make wathever magic to de/serialize de field type. ie:

!thing
template: "t1"

and after in code:

TemplateType template;

String getTemplate() {
   return template.getName();
}

void setTemplate(String template) {
  this.template = getTemplateForName(template);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions