From b8296eb44359ed7be180e4e62c7cdf8d6e05ecfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Wed, 4 Oct 2023 18:51:15 +0200 Subject: [PATCH] chore: remove todo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- pkg/engine/assert/parse.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/engine/assert/parse.go b/pkg/engine/assert/parse.go index 094854a8..ebcf5c02 100644 --- a/pkg/engine/assert/parse.go +++ b/pkg/engine/assert/parse.go @@ -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")