Discussed in #3380
Originally posted by drahkrub September 11, 2023
Since 1.5.0 the nullValueMappingStrategy can be separately defined for Iterables and Maps via nullValueIterableMappingStrategy and nullValueMapMappingStrategy respectively.
It would be nice to do the same for nullValuePropertyMappingStrategy by introducing nullValueIterablePropertyMappingStrategy and nullValueMapPropertyMappingStrategy.
(by the way, I would have found nullValueCollectionMappingStrategy more appropriate than nullValueIterableMappingStrategy)
This would also facilitate the introduction of another NullValuePropertyMappingStrategy, but for that I'll start a new discussion: #3381.
Discussed in #3380
Originally posted by drahkrub September 11, 2023
Since
1.5.0thenullValueMappingStrategycan be separately defined for Iterables and Maps vianullValueIterableMappingStrategyandnullValueMapMappingStrategyrespectively.It would be nice to do the same for
nullValuePropertyMappingStrategyby introducingnullValueIterablePropertyMappingStrategyandnullValueMapPropertyMappingStrategy.(by the way, I would have found
nullValueCollectionMappingStrategymore appropriate thannullValueIterableMappingStrategy)This would also facilitate the introduction of another
NullValuePropertyMappingStrategy, but for that I'll start a new discussion: #3381.