Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-563

5.1.1.4.29: Allow casting strings to primitive types if the string contains the literal representation of an instance of the target type

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_CS02
    • Fix Version/s: V4.01_WD01
    • Component/s: URL Conventions
    • Labels:
      None
    • Environment:

      [Proposed]

      Description

      We allow casting of primitive types to string using the literal representation for the source type.

      Unfortunately we forgot to allow the inverted operation: casting a string containing the literal representation of e.g. a Date to Edm.Date, although this was explicitly mentioned in the examples given with ODATA-365.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: