[Task] Add new constructor for jackson classes with only all mandatory field(s) #535
Labels
acknowledged
Has been viewed by one of the maintainers and is ready for further work, discussion or other steps.
task
Is your task related to a problem? Please describe.
Currently there is only one constructor that contains all fields. This makes instantiating larger classes cumbersome and difficult to read. A good practice is to have a constructor that includes all mandatory fields and leaves out the optional ones because they can be set if necessary.
Example:
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: