[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1538) Need to constrain functions/actions to particular paths
Michael Pizzo created ODATA-1538: ------------------------------------ Summary: Need to constrain functions/actions to particular paths Key: ODATA-1538 URL: https://issues.oasis-open.org/browse/ODATA-1538 Project: OASIS Open Data Protocol (OData) TC Issue Type: New Feature Components: CSDL JSON , CSDL XML, Vocabularies Affects Versions: V4.01_OS Environment: Today, actions and functions are bound to a type. This implies that, anywhere that type is present, the action or function can be invoked. There are many scenarios in which whether an action or function could be invoked is dependent upon where the instance of the type lives. For such scenarios, it would be nice to be able to specify exactly what usages of a type supported a particular operation. One option would be to introduce a BindingConstraint annotation; something like: ~~~xml <Action Name="forward" IsBound="true" > <AnnotationTerm="Org.OData.Core.V1.Capabilities.BindingConstraint"> <Collection> <Record> <PropertyValue Property="Target" String="/me/email"/> </Record> </Collection> </Annotation> <ParameterName="bindingParameter" Type="Collection(self.email)"/> <ParameterName="recipient" Type="Collection(self.recipent)"/> <ReturnTypeType="Collection(self.email)" /> </Action> ~~~ Reporter: Michael Pizzo Fix For: V4.01_OS -- This message was sent by Atlassian Jira (v8.3.3#803004)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]