Open xuzhg opened 3 years ago
The potential fix at ODL: 1) make the "source" == null if there's no "$it". For example the "Right" at the above. Then, at Web API, if the source == null, we use the "current" parameter.
2) create "source" if there's a "$it" or "$this", For example the "above" at the above.
Short summary (3-5 sentences) describing the issue.
ODL query option parser the nested $filter as:
FilterClause: RangeVariable (name: "$it", type: "Order")
You can see the nested $filter has three range variables related, all named "$it".
When we do the bind, it tries to get the "$it" parameter when do the left, as the following debug:
Then, here's the example: