google / cel-spec

Common Expression Language -- specification and binary representation
https://cel.dev
Apache License 2.0
2.78k stars 222 forks source link

Remove support for heterogeneously keyed maps #209

Open TristonianJones opened 2 years ago

TristonianJones commented 2 years ago

CEL currently supports heterogeneously keyed maps; however, none of the first class data types (JSON, Proto) support this feature. This is an impedance mismatch between the CEL type system and the types supported by JSON and Proto. Some of the languages in which CEL is implemented support heterogeneous map keys, but their use is expected to be the exception and not the rule.

Removing support will also yield the following benefits: