Uploaded image for project: 'Spring Data Redis'
  1. Spring Data Redis
  2. DATAREDIS-543

Spring Data Redis should support the @TypeAlias annotation

    Details

      Description

      To save resources (disk space, bandwidth, ...) it would be nice, if Spring Data Redis would support the @TypeAlias annotation, just like Spring Data Mongo does.

      For example: I would expect that, if I annotate my model class in package de.myapp.Test with @TypeAlias("t"), then the Spring Data Redis @Repository will store

      "_class" : "t"
      

      instead of currently

      "_class" : "de.myapp.Test"
      

      in the redis db.

        Attachments

          Activity

            People

            • Assignee:
              mp911de Mark Paluch
              Reporter:
              osigge Oliver Sigge
              Last updater:
              Mark Paluch
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: