Closed tofsjonas closed 1 month ago
So, you are saying that you have a lot of fields with default values and you don't want to add @DtoCreateOptional
and @DtoUpdateOptional
everywhere? Should not be too time-consuming to add this feature. However, I'm a bit afraid that adding more and more settings will get a bit confusing by time 😕 Shouldn't be one single setting enough to toggle it for both Create and Update dtos?
Yes, that makes sense 🤔
The new flag showDefaultValues = "true"
makes fields with @default
attribute visible by default. Please checkout 1.24.0-beta1.
Yay, it works! Thank you 🙌
From the readme:
I like having default values, but I also like being able to set them.
Would it be possible to make this a configuration setting? Like this?
Awesome package, thank you!