Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4460

Define an unique way to identify type in the REST API

    XMLWordPrintable

    Details

    • Type: Code Task
    • Status: Received (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 7.0
    • Fix Version/s: 7.0
    • Component/s: REST API v7
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      0
    • Documentation Status:
      Needed

      Description

      As by discussion in https://github.com/DSpace/DSpace/pull/2663#issuecomment-595315019
      the original

      getType()

      method is not anymore enough to uniquely identify the type of REST Object returned by an endpoint.
      In the above PR a new getUniqueType() method is introduced but we should merge these two methods leaving a single uniform way to identify the REST object type updating also the angular side

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bollini Andrea Bollini (4Science)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: