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
Is your feature request related to a problem? Please describe.
I'm using implier for generating database-related entities. My case is to not generate mutable property of identifier (I am not supposed to change it), but to make other properties mutable.
Describe the solution you'd like
Probably, we need to have annotation for such stuff. For example ShouldNotMutate or using existing Immutable annotation.
The text was updated successfully, but these errors were encountered:
Also, probably, it will be useful to remove some properties from dtos via @Exclude(target = [ExcludeTarget.DTO])
and same stuff for mutable implementation: @Exclude(target = [ExcludeTarget.MUTABILITY])
y9vad9
changed the title
Disallow generating mutable variants of specific properties
Exclude specific properties from generation-related stuff
Aug 29, 2022
Is your feature request related to a problem? Please describe.
I'm using implier for generating database-related entities. My case is to not generate mutable property of identifier (I am not supposed to change it), but to make other properties mutable.
Describe the solution you'd like
Probably, we need to have annotation for such stuff. For example
ShouldNotMutate
or using existingImmutable
annotation.The text was updated successfully, but these errors were encountered: