-
Notifications
You must be signed in to change notification settings - Fork 14
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
initDefaults broken #54
Comments
I will have a look! |
Thanks. Just take your time, I don't need the new features in the project where I need the |
Hi, I looked into it and guess it is a user error 😁 Initidefaults uses (at least in the newer versions, I can't remember the old ones) the getter and setter methods since the getters already contain the complete logic to generate the correct defaults. Can you check and confirm for your examples that this is the case for the different files you use? |
In this very old app of mine I use it like following:
Should work, shouldn't it? |
Yeah, that's the bug I found after writing my comment 👍 |
great, thanks a lot |
I just pushed 2.7.1 to maven central. initDefaults should no show better results. |
Great, works. Thank you |
In v2.2.0,
initDefaults
is generated, in v2.6.0 or v2.7.0 it is empty...The text was updated successfully, but these errors were encountered: