升级Spring Boot到3.x后,我们看到如下警告:
Registering converter from interface com.mongodb.DBObject to class <our class> as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation
我们的 Converter 类签名如下所示:
@ReadingConverter
public static class MongoRead implements Converter<DBObject, xxx>
xxx 是我们班的地方。
我无法确定我们应该如何遵循最佳实践并消除警告。