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, Protocol
    • Labels:
      None
    • Environment:

      [Proposed]

      Description

      In ODATA-225 we moved function definition out of the EntityContainer by introducing a new Function element. We should take this opportunity to clean up the confusion between actions (which may be side-effecting and are not composable) from functions (which must not be side-effecting and may be composable). Previously these were differentiated by an isSideEffecting attribute on the FunctionImport, and depending on whether this was set other attributes (like isComposable) were or were not valid.

        Attachments

          Activity

          mikep Michael Pizzo (Inactive) created issue -
          ralfhandl Ralf Handl made changes -
          Field Original Value New Value
          Description In ODATA-255 we moved function definition out of the EntityContainer by introducing a new Function element. We should take this opportunity to clean up the confusion between actions (which may be side-effecting and are not composable) from functions (which must not be side-effecting and may be composable). Previously these were differentiated by an isSideEffecting attribute on the FunctionImport, and depending on whether this was set other attributes (like isComposable) were or were not valid. In ODATA-225 we moved function definition out of the EntityContainer by introducing a new Function element. We should take this opportunity to clean up the confusion between actions (which may be side-effecting and are not composable) from functions (which must not be side-effecting and may be composable). Previously these were differentiated by an isSideEffecting attribute on the FunctionImport, and depending on whether this was set other attributes (like isComposable) were or were not valid.
          ralfhandl Ralf Handl made changes -
          Proposal -Remove isSideEffecting from edm:Function
          -Add emd:Action with attributes name, returntype, isbindable, isalwaysbindable, entitysetpath (iscomposable doesn't apply to actions)
          -Add edm:ActionImport as child to entitycontainer, with same structure as edm:FunctionImport
          -remove confusing wording around determining whether a function is an action or function depending on iscomposable, and what attribute combinations are valid.
          -Remove isSideEffecting from edm:Function
          -Add emd:Action with attributes name, returntype, isbindable, isalwaysbindable, entitysetpath (iscomposable doesn't apply to actions)
          -Add edm:ActionImport as child to entitycontainer, with same structure as edm:FunctionImport
          -remove confusing wording around determining whether a function is an action or function depending on iscomposable, and what attribute combinations are valid.

          Accepted: https://www.oasis-open.org/committees/download.php/48346/odata-meeting-26_on-20130221-minutes.html#odata-269
          Status New [ 10000 ] Open [ 1 ]
          ralfhandl Ralf Handl made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          ralfhandl Ralf Handl made changes -
          Assignee Ralf Handl [ ralfhandl ]
          handl Ralf Handl made changes -
          Assignee Ralf Handl [ ralfhandl ] Ralf Handl [ handl ]

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              mikep Michael Pizzo (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: