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

DerivedTypeConstraint should apply to entityset, singleton, navigation properties, parameters, and action/function returns

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.01_CS01
    • Fix Version/s: V4.01_CS02
    • Component/s: Vocabularies
    • Labels:
      None
    • Proposal:
      Hide

      Add the following items to the "AppliesTo" attribute of the DerivedTypeConstraint annotation term:

      EntitySet, Singleton, NavigationProperty, Parameter, ReturnType

      Show
      Add the following items to the "AppliesTo" attribute of the DerivedTypeConstraint annotation term: EntitySet, Singleton, NavigationProperty, Parameter, ReturnType
    • Resolution:
      Hide

      Closing with no action as a dupe of ODATA-1232.

      Show
      Closing with no action as a dupe of ODATA-1232 .

      Description

      ODATA-1232 proposed supporting "union types" by restricting the set of types derived from a common type. In processing ODATA-1232, we discovered that we already had an annotation term, DerivedTypeConstraint, for restricting the set of derived types.

      The DerivedTypeConstraint annotation term was originally added in ODATA-1034 to restrict the set of primitive types supported for a property or type definition. While it makes sense to use the same term for other constraints on derived type, we neglected to add those other targeted elements to the AppliesTo list.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikep Michael Pizzo (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: