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

Define standard functions for edm:Apply element

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V4.0_WD01
    • Component/s: CSDL XML
    • Labels:
      None
    • Environment:

      [Proposed]

      Description

      The edm:Apply expression allows to specify functions that are applied on the client side.

      It would be very helpful to define a standard set of common functions that all client libraries should implement.

      Otherwise we end up with a tight coupling of clients and servers because the latter define com.microsoft.Concat and com.sap.Concat.

        Attachments

          Activity

          ralfhandl Ralf Handl created issue -
          ralfhandl Ralf Handl made changes -
          Field Original Value New Value
          Proposal Define standard functions for edm:Apply:

          - concat with a variable number of arguments, with casting/serialization rules for Edm types other than Edm.String
          - GET with a single string argument that returns the response to a GET request to the argument treated as a URL
          - ...
          Define standard functions for edm:Apply:

          - odata.concat with a variable number of primitive-typed arguments that returns a string consisting of the concatenation of the standard serialization (as defined in the ABNF) of all argument values

          - odata.get with a single string argument that returns the response to a GET request to the argument treated as a URL
          ralfhandl Ralf Handl made changes -
          Proposal Define standard functions for edm:Apply:

          - odata.concat with a variable number of primitive-typed arguments that returns a string consisting of the concatenation of the standard serialization (as defined in the ABNF) of all argument values

          - odata.get with a single string argument that returns the response to a GET request to the argument treated as a URL
          Define a standard function for edm:Apply:

          - odata.concat with a variable number of primitive-typed arguments that returns a string consisting of the concatenation of the standard serialization (as defined in the ABNF) of all argument values
          ralfhandl Ralf Handl made changes -
          Status New [ 10000 ] Open [ 1 ]
          ralfhandl Ralf Handl made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          ralfhandl Ralf Handl made changes -
          Proposal Define a standard function for edm:Apply:

          - odata.concat with a variable number of primitive-typed arguments that returns a string consisting of the concatenation of the standard serialization (as defined in the ABNF) of all argument values
          Define a standard function for edm:Apply:

          - odata.concat with a variable number of primitive-typed arguments that returns a string consisting of the concatenation of the standard serialization (as defined in the ABNF) of all argument values

          Accepted: https://www.oasis-open.org/committees/download.php/48097/odata-meeting-23_on-20130130_31-F2F-minutes.html#odata-197
          ralfhandl Ralf Handl made changes -
          Assignee Ralf Handl [ ralfhandl ]
          handl Ralf Handl made changes -
          Reporter Ralf Handl [ ralfhandl ] Ralf Handl [ handl ]
          handl Ralf Handl made changes -
          Assignee Ralf Handl [ ralfhandl ] Ralf Handl [ handl ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: