External targeting for action/function overloads

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

      Applied

    • 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)
    • 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

      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.

            Assignee:
            Unassigned
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: