spring-projects / spring-data-cassandra

Provides support to increase developer productivity in Java when using Apache Cassandra. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
https://spring.io/projects/spring-data-cassandra/
Apache License 2.0
380 stars 311 forks source link

Reuse User Defined Conversion Service. #1344

Closed neshkeev closed 1 year ago

neshkeev commented 1 year ago

Users used to be unable to define their own conversion service beans, because MappingCassandraConverter always used to create a new instance regardless of whether there is a bean with such a type or not. Now an object for conversion service is created only if there are no such a bean defined.

NOTICE I don't expect it to be the best solution possible, I'm open for a dialog to make the PR and related code better

Related tickets #1343

mp911de commented 1 year ago

Closing as per https://github.com/spring-projects/spring-data-cassandra/issues/1343#issuecomment-1400444829