We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The error happens when we have something like:
public class Source { public Set<String> getProperty() { } } public class Target { public void setProperty(Set<String> property) { } }
A workaround is to set the Mapper#collectionMappingStrategy to CollectionMappingStrategy.TARGET_IMMUTABLE
Mapper#collectionMappingStrategy
CollectionMappingStrategy.TARGET_IMMUTABLE
The text was updated successfully, but these errors were encountered:
mapstruct#1359 Collection target should be considered as immutable if…
90122b0
… there is no read accessor
#1359 Collection target should be considered as immutable if there is…
42d7bfe
… no read accessor
filiphr
No branches or pull requests
The error happens when we have something like:
A workaround is to set the
Mapper#collectionMappingStrategy
toCollectionMappingStrategy.TARGET_IMMUTABLE
The text was updated successfully, but these errors were encountered: