Skip to content

Commit

Permalink
Merge branch 'main' into jp-upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
eddycharly authored Oct 4, 2023
2 parents f2951d7 + be3b554 commit 5dd7433
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/engine/assert/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ func (n *scalarNode) assert(path *field.Path, value interface{}, bindings bindin
expression := parseExpression(rhs)
// we only project if the expression uses the engine syntax
// this is to avoid the case where the value is a map and the RHS is a string
// TODO: we need a way to escape the projection
if expression != nil && expression.engine != "" {
if expression.foreachName != "" {
return nil, field.Invalid(path, rhs, "foreach is not supported on the RHS")
Expand Down

0 comments on commit 5dd7433

Please sign in to comment.