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

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • V4.01_CS02
    • Affects Version/s: V4.01_CS01
    • Component/s: Vocabularies
    • None
    • 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
    • Hide

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

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

      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.

            Assignee:
            Unassigned
            Reporter:
            Michael Pizzo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: