Skip to content
New issue

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

Feature: Default setting for mapping of null values wanted #149

Open
schuettec opened this issue Nov 2, 2022 · 0 comments
Open

Feature: Default setting for mapping of null values wanted #149

schuettec opened this issue Nov 2, 2022 · 0 comments

Comments

@schuettec
Copy link
Contributor

schuettec commented Nov 2, 2022

The mapper currently does not map null values from source to destination. In a context of REST operations like PUT, this behaviour is not the best choice as default mapping behaviour.

Since version 4.2.6 the mapper can be configured to map null values: MappingConfiguration.writeNullIfSourceIsNull().

This behaviour should be implemented as configurable default with the possibility to configure all mappers in a global way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant