Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1349

CustomConversions should allow for selective registration of default converters

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      CustomConversions registers default converters (such as Joda-Time, JSR-310, JSR-310 Backport) for all stores. This is behavior is limiting for stores, that come with native support for a type that is currently converted through one of the default converters.

      Datastax Cassandra Driver and MongoDB Driver 3.8 come with converters for some JSR-310 types. Leveraging driver support gets Spring Data converters out of the way so drivers are responsible for reading and writing such types.

      Ideally, we find an approach that allows selective registration of converters (e.g. CustomConversions accepting a Predicate<ConvertiblePair>).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                olivergierke Oliver Drotbohm
                Reporter:
                mp911de Mark Paluch
                Last updater:
                Mark Paluch
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: