Skip to content

Behavior breaking change deserializing property with null value #4571

Closed
@pierre-gautier

Description

@pierre-gautier

Using spring-data-mongodb 4.1.5, when deserializaing a property with null value in database to an instanciated collection, the collection was not set to null.

With version 4.2.0, the collection is set to null.

While I do understand the intention and tends to be aligned with it, it's still a breaking change that may have numerous impacts in production.

WDYT ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions