Skip to content

Mapping converter not applied for ReactiveMongoTemplate::findAndReplace #4865

Open
@joostfarla

Description

@joostfarla

I have registered a MappingMongoConverter component to perform custom conversions for all document reads and writes. When performing find / findOne / etc. operations, this works as expected. However, when using ReactiveMongoTemplate::findAndReplace, the conversion is not applied on the returned document (the MappingMongoConverter::read method is not called). Is this expected behavior? Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions