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

Should support annotations to bound actions/functions via path

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.02
    • Component/s: CSDL JSON, CSDL XML
    • Labels:
      None
    • Environment:

      [Proposed]

    • Proposal:
      Hide

      Add bound actions and bound functions to the list of things allowed within a target path for annotations.

      Parameters can be used to differentiate overloads, including differentiating targets that identify operations bound to a collection versus members of a collection of a particular type.

      https://github.com/oasis-tcs/odata-specs/pull/233

      Show
      Add bound actions and bound functions to the list of things allowed within a target path for annotations. Parameters can be used to differentiate overloads, including differentiating targets that identify operations bound to a collection versus members of a collection of a particular type. https://github.com/oasis-tcs/odata-specs/pull/233

      Description

      For capability annotations in particular, we have moved towards path-based external targeting in order to differentiate capabilities based on how the element is accessed.

      These type of path-based annotation targets start with the entity container, started by an entity set, singleton, action import or function import, and then on from there, using the following rule:

      ·         qualified name of an entity container followed by a segment containing a singleton or entity set name and zero or more property, navigation property, or type-cast segments

      However, this rule doesn't include target paths that contain bound actions/functions.

        Attachments

          Activity

            People

            • Assignee:
              heiko.theissen Heiko Theissen
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: