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.
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 |
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 ] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Assignee | Ralf Handl [ ralfhandl ] |
Assignee | Ralf Handl [ ralfhandl ] | Ralf Handl [ handl ] |