Feature request checklist
Change
To make CEL environment setup consistent across CEL implementations, I propose to add equivalent runtime options that control string conversion and list/string concatenation equivalent to those found in CEL-cpp:
// Enable string() overloads.
bool enable_string_conversion = true;
// Enable string concatenation overload.
bool enable_string_concat = true;
// Enable list concatenation overload.
bool enable_list_concat = true;
Example
// Actual option names up to the implementer.
opts := cel.EvalOptions(cel.OptDisableDisableStringConcat |
cel.OptDisableDisableListConcat | cel.OptDisableDisableListConcat)
prg, err := env.Program(ast, opts)
Related
Feature request checklist
Change
To make CEL environment setup consistent across CEL implementations, I propose to add equivalent runtime options that control string conversion and list/string concatenation equivalent to those found in CEL-cpp:
Example
Related
CelOptionsto disable string conversion and list/string concatenation cel-java#502