-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: V4.0_ERRATA03
-
Fix Version/s: V4.01_WD01
-
Component/s: Vocabularies
-
Labels:None
-
Environment:
Proposed
-
Proposal:
Actions and functions that are not available on all instances can be advertised in responses, see http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html#_Toc453752309.
Problem with current approach: does absence of an advertisement mean that an action/function is not available, or does it mean that the service doesn't advertise its availability?
I like the simplicity of the default assumption that, if an operation is defined in metadata as bound to a type, it can be called on that type (it might return an error, but it's valid to call it).
The question then becomes, if I have an operation that isn't always supported, how is it described? We know how it's advertised in payloads, but that payload needs to point back to metadata to describe parameters, return types, etc.