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

Change default decimal Scale to variable

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V4.0_WD01
    • Component/s: CSDL XML
    • Labels:
      None
    • Environment:

      [Proposed]

      Description

      In order to avoid data modelers having to make excessive use of facets, the Decimal primitive type should allow variable Scale by default, rather than defaulting Scale to zero, which effectively makes unqualified edm.Decimal equivalent to xsd:integer.

      We could thereby also eliminate the VariableScale facet.

      (A parallel consideration might be that if Scale=0 is common, then we should add an edm.Integer type).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              evan.ireland.2 Evan Ireland
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: