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

Add tagging term Core.Deprecated to mark deprecated model elements

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: V4.01_CSD01
    • Fix Version/s: V4.01_CSD02
    • Component/s: Vocabularies
    • Labels:
      None
    • Environment:

      Proposed

    • Proposal:
      Hide

      Do not add new Core term

      <Term Name="Deprecated" Type="Core.Tag" DefaultValue="true">
      <Annotation Term="Core.Description" String="Model elements annotated with this term are deprecated and should no longer be used. They may be removed in a future version of the service." />
      </Term>

      Instead close this as a duplicate (subset) of ODATA-1058

      Show
      Do not add new Core term <Term Name="Deprecated" Type="Core.Tag" DefaultValue="true"> <Annotation Term="Core.Description" String="Model elements annotated with this term are deprecated and should no longer be used. They may be removed in a future version of the service." /> </Term> Instead close this as a duplicate (subset) of ODATA-1058
    • Resolution:
      Show
      https://github.com/oasis-tcs/odata-vocabularies/commit/0d986094b13bbc0c85baf26ef087bceff125c46a#diff-cb4352d449bde8630c913e88a5915064

      Description

      Our model versioning rules only allow adding optional model elements, they don't allow removing model elements.

      One way to deal with this is to leave outdated model elements in a service and just mark them as "deprecated".

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: