-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: ABNF
-
Labels:None
OData-URL, section 5.1.1.15 allows as function parameters properties of the entity addressed by the resource path. But this does not work for dynamic properties, because ABNF disallows
$compute=concat(year(Date),'-05-01') as MayDay
&$filter=Special.IsSunday(Date=MayDay)
The ABNF allows all kinds of properties as function parameters, and declaring MayDay as a primitiveNonKeyProperty in the test case constraints makes the parser accept the expression.
Note: the parser is dumb and needs the hints in the test case constraints to decide what a match for odataIdentifier actually "means".
Propose to close this issue without action.