You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When constructing objects, we can freely change them whenever via the setters. I would not to not allow for this and go with a more immutable approach.
The text was updated successfully, but these errors were encountered:
The jsonschema2pojo plugin allows generating builders associated with pojos, that way pojo classes may remain immutable while the builders provide mutability. However, this would constitute a breaking change in API usage. Given that the API is still pre 1.0.0 is permissible but such change (if green lighted) must be communicated in advance to consumers.
When constructing objects, we can freely change them whenever via the setters. I would not to not allow for this and go with a more immutable approach.
The text was updated successfully, but these errors were encountered: