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

External targeting for action/function overloads

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_CS01
    • Fix Version/s: V4.01_CS02
    • Component/s: CSDL JSON, CSDL XML
    • Labels:
      None
    • Environment:

      Applied

    • Proposal:
      Hide

      Allow external targeting of individual action/function overload with syntax similar to action/function advertisement in JSON data by optionally appending the overload signature to the action/function name.

      The signature consists of parentheses containing

      • for unbound actions: nothing, just the parentheses
      • for bound actions: the name of the first (binding) parameter type
      • for functions: the comma-separated ordered list of parameter types (including the binding parameter type at the first position for bound overloads)

       

      Examples:

      MySchema.MyAction(MySchema.BindingParameterType)
      MySchema.MyFunction(MySchema.BindingParameterType,First.NonBinding.ParameterType,Second.NonBinding.ParameterType)
      
      Show
      Allow external targeting of individual action/function overload with syntax similar to action/function advertisement in JSON data by optionally appending the overload signature to the action/function name. The signature consists of parentheses containing for unbound actions: nothing, just the parentheses for bound actions: the name of the first (binding) parameter type for functions: the comma-separated ordered list of parameter types (including the binding parameter type at the first position for bound overloads)   Examples: MySchema.MyAction(MySchema.BindingParameterType) MySchema.MyFunction(MySchema.BindingParameterType,First.NonBinding.ParameterType,Second.NonBinding.ParameterType)
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/64186/odata-csdl-json-v4.01-wd05-2018-11-02.docx https://www.oasis-open.org/committees/download.php/64187/odata-csdl-xml-v4.01-wd06-2018-11-02.docx

      Description

      Section 14.2.2 Target describes which model elements can be annotated via external targeting.

      Currently actions and functions can only be summarily targeted, i.e. the (external) annotation applies to all overloads.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: