Skip to content

Commit

Permalink
chore: remove todo (#42)
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
  • Loading branch information
eddycharly authored Oct 4, 2023
1 parent 4372970 commit be3b554
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 be3b554

Please sign in to comment.