-
Notifications
You must be signed in to change notification settings - Fork 377
Closed
Labels
in: r2dbcSpring Data R2DBCSpring Data R2DBCtype: documentationA documentation updateA documentation update
Milestone
Description
The "Example 87. @configuration class to configure R2DBC mapping support" contains the following example, which seems to be wrong:
...
@Override
protected List<Object> getCustomConverters() {
List<Converter<?, ?>> converterList = new ArrayList<Converter<?, ?>>();
converterList.add(new org.springframework.data.r2dbc.test.PersonReadConverter());
converterList.add(new org.springframework.data.r2dbc.test.PersonWriteConverter());
return converterList;
}Results in:
- Required type:
List<Object> - Provided type:
List<Converter<?,?>>
While looking at this example, I was also wondering why we cannot inject the Converters instead of creating them within the getCustomConverters() method.
Metadata
Metadata
Assignees
Labels
in: r2dbcSpring Data R2DBCSpring Data R2DBCtype: documentationA documentation updateA documentation update