Uploaded image for project: 'Spring Data REST'
  1. Spring Data REST
  2. DATAREST-1321

Support non-string values for lookup types

    Details

      Description

      Current RepositoryInvokingDeserializer for some reason expects String to be used as entity identifier. Would be nice if it can support number values as well (by checking parser.getCurrentToken().isNumeric()).

      LookupObjectSerializer is also assuming identifier to be always string, so this class should also support non-string identifiers (namely numeric identifiers).

        Attachments

          Activity

            People

            • Assignee:
              olivergierke Oliver Drotbohm
              Reporter:
              pavel.horal Pavel Horal
              Last updater:
              Mark Paluch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: