-
Notifications
You must be signed in to change notification settings - Fork 132
Move Conversion-related functionality to MappingR2dbcConverter. #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one small thing.
@@ -77,7 +78,12 @@ public R2dbcRepositoryFactory(DatabaseClient databaseClient, | |||
this.databaseClient = databaseClient; | |||
this.mappingContext = mappingContext; | |||
this.dataAccessStrategy = dataAccessStrategy; | |||
this.converter = new MappingR2dbcConverter(new BasicRelationalConverter(mappingContext)); | |||
|
|||
if (dataAccessStrategy instanceof DefaultReactiveDataAccessStrategy) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like the check against a specific implementation.
I'd rather have an interface (e.g. WithConverter
) which other implementations can use to denote that they use a R2dbcConverter
inside which we can extract.
bd6374f
to
65634ee
Compare
All conversion functionality is now pulled together into MappingR2dbcConverter. Introduce OutboundRow to provide mapping between column names and settable values. Remove identifier from SettableValue.
That's fixed now. |
All conversion functionality is now pulled together into MappingR2dbcConverter. Introduce OutboundRow to provide mapping between column names and settable values. Remove identifier from SettableValue. Original pull request: #62.
That's merged. |
All conversion functionality is now pulled together into
MappingR2dbcConverter
.Introduce
OutboundRow
to provide mapping between column names and settable values. Remove identifier fromSettableValue
.Related ticket: #61.