Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-384

JS- clean up OData V3 types in Utils.js

    XMLWordPrintableJSON

Details

    Description

      Utils.js still has V3 codes for types:
      var EDM_DATETIME = EDM + "DateTime";
      var EDM_DATETIMEOFFSET = EDM + "DateTimeOffset";
      var EDM_DECIMAL = EDM + "Decimal";
      var EDM_DOUBLE = EDM + "Double";
      var EDM_GUID = EDM + "Guid";
      var EDM_INT16 = EDM + "Int16";
      var EDM_INT32 = EDM + "Int32";
      var EDM_INT64 = EDM + "Int64";
      var EDM_SBYTE = EDM + "SByte";
      var EDM_SINGLE = EDM + "Single";
      var EDM_STRING = EDM + "String";
      var EDM_TIME = EDM + "Time";

      But V4 has different set of suported types: Edm.Date, Edm.DateTimeOffset, Edm.Duration,  Edm.Guid, and Edm.TimeOfDay ( http://docs.oasis-open.org/odata/odata-json-format/v4.0/os/odata-json-format-v4.0-os.html#_Toc372793065 )

      Attachments

        Activity

          People

            koblers Sven Kobler-Morris
            challenh Challen He
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: