Skip to content

Commit

Permalink
TC 2024-05-08
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoTheissen committed May 10, 2024
1 parent b89590f commit cab4065
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion abnf/odata-abnf-construction-rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,8 @@ rootExpr = %s"$root/" ( entitySetName [ collectionNavigationExpr ]

firstMemberExpr = memberExpr
/ inscopeVariableExpr [ "/" memberExpr ]
/ "$" request-id [ "/" memberExpr ] ; reference to single-valued response of earlier request
/ "$" request-id [ collectionNavigationExpr ] ; reference to collection-valued response of earlier request

memberExpr = directMemberExpr
/ ( optionallyQualifiedEntityTypeName / optionallyQualifiedComplexTypeName ) "/" directMemberExpr
Expand Down Expand Up @@ -558,7 +560,6 @@ inscopeVariableExpr = implicitVariableExpr
/ lambdaVariableExpr ; only allowed inside a lambdaPredicateExpr
implicitVariableExpr = %s"$it" ; the current instance of the resource identified by the resource path
/ %s"$this" ; the instance on which the query option is evaluated
/ "$" request-id
lambdaVariableExpr = odataIdentifier

collectionNavigationExpr = collectionNavNoCastExpr
Expand Down
3 changes: 2 additions & 1 deletion abnf/odata-abnf-testcases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2276,7 +2276,8 @@ TestCases:
Rule: commonExpr
Input: Customer eq $1
Expect:
- implicitVariableExpr:$1
- firstMemberExpr:Customer
- firstMemberExpr:$1

- Name: 5.1.1.15 Path expressions
Rule: commonExpr
Expand Down

0 comments on commit cab4065

Please sign in to comment.