Skip to content

Package private visibility of ConversionContext prevents subclassing of MappingMongoConverter  #4345

Closed
@H3adcra5h

Description

@H3adcra5h

We changed from Version 3.3.3 to 3.4.8 by updating Spring Boot from 2.6.6 to 2.7.9.

The visibility of class ConversionContext changed from protected to package private.
Creating a subclass of MappingMongoConverter and overwrite the protected method readDocument is no longer possible if the subclass package is outside of org.springframework.data.mongodb.core.convert. Same with other protected methods that use ConversionContext as parameter.

Metadata

Metadata

Labels

type: regressionA regression from a previous release

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions