-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
feature-requestSuggest an idea for this projectSuggest an idea for this project
Description
Describe the feature
Hi @zhezhangz, thanks for this library.
I'm writing for asking if there's a feature that can populate the properties that inherit from the superclass?
Use Case
public class Animal {
private String name;
}
public class Person extends Animal {
private String healthCode;
}
@Test
void test_subtype() throws JsonProcessingException {
final Person person = PersonModeler.builder().build();
assertThat(person.getHealthCode()).isNotNull();
assertThat(person.getName()).isNotNull();
}
Expecting actual not to be null
java.lang.AssertionError:
Expecting actual not to be null
Possible Solution / Additional Notes
No response
Acknowledgements
- I may be able to implement this feature
- This feature will introduce some breaking changes
EasyModeling Version
0.1.0-release
Metadata
Metadata
Assignees
Labels
feature-requestSuggest an idea for this projectSuggest an idea for this project