Slice array (#1403)

This commit is contained in:
Mike Farah
2022-10-29 18:15:21 +11:00
committed by GitHub
parent 880397d549
commit d99614f55a
10 changed files with 368 additions and 18 deletions
-1
View File
@@ -76,7 +76,6 @@ func traverse(context Context, matchingNode *CandidateNode, operation *Operation
}
func traverseArrayOperator(d *dataTreeNavigator, context Context, expressionNode *ExpressionNode) (Context, error) {
//lhs may update the variable context, we should pass that into the RHS
// BUT we still return the original context back (see jq)
// https://stedolan.github.io/jq/manual/#Variable/SymbolicBindingOperator:...as$identifier|...