MCPcopy Create free account
hub / github.com/cel-expr/cel-go / Validate

Method Validate

ext/bindings.go:168–169  ·  view source on GitHub ↗

Validate is a no-op as the intent is to simply disable strong type-checks for list literals during when they occur within cel.@block calls as the arg types have already been validated.

(env *cel.Env, _ cel.ValidatorConfig, a *ast.AST, iss *cel.Issues)

Source from the content-addressed store, hash-verified

166// Validate is a no-op as the intent is to simply disable strong type-checks for list literals during
167// when they occur within cel.@block calls as the arg types have already been validated.
168func (blockValidationExemption) Validate(env *cel.Env, _ cel.ValidatorConfig, a *ast.AST, iss *cel.Issues) {
169}
170
171func celBind(mef cel.MacroExprFactory, target ast.Expr, args []ast.Expr) (ast.Expr, *cel.Error) {
172 if !macroTargetMatchesNamespace(celNamespace, target) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected