Skip to content

Support for globally defining nullValueIterableMappingStrategy and nullValueMapMappingStrategy #2953

@andye2004

Description

@andye2004

I was wondering if there was a reason that the null value mapping strategies were not added to the Options class in order to override the built-in defaults? If there is no reason preventing this from being done I was hoping it could be added as feature moving forward?

I'm specifically interested in thenullValueIterableMappingStrategy and nullValueMapMappingStrategy as accepted best practice in this instance is to return empty collections and maps as opposed to null values. Basically I want to set this policy globally instead of via the currently available options.

Cheers, Andy.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions