Expand description
§Tips
-
CEL expressions should always target the name of the fields in rust, not those of the message. For example, if a field is named
typein protobuf, the output struct will have a field namedr#type, and your cel expression should refer to it usingthis['r#type'], NOTthis.type. -
If you use a
BTreeMapin one of your fields, you need to addprostas a dependency and cannot rely on the re-export from this crate, due to a bug inprost’s macro output for BTreeMaps.