Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#135 Support more ways to create beans (e.g. Java records) #398

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

ljacqu
Copy link
Member

@ljacqu ljacqu commented Nov 17, 2023

No description provided.

src/main/java/ch/jalu/configme/beanmapper/MapperImpl.java Outdated Show resolved Hide resolved
src/main/java/ch/jalu/configme/beanmapper/MapperImpl.java Outdated Show resolved Hide resolved
src/test/java/ch/jalu/configme/demo/beans/UserBase.java Outdated Show resolved Hide resolved
BeanZeroArgConstructorInstantiation zeroArgConstrInstantiation =
new BeanZeroArgConstructorInstantiation(zeroArgConstructor.get(), properties);
cachedInstantiationByType.put(clazz, zeroArgConstrInstantiation);
return Optional.of(zeroArgConstrInstantiation);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test:

  • inheritance
  • final fields
  • static fields...

Copy link
Member Author

@ljacqu ljacqu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adapt javadoc on MapperImpl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant