1 result · Clear filters · Feed
-
Medium —
cel-go: JSON Private Fields Exposed via NativeTypes and ParseStructTag
The function `ext.NativeTypes(ParseStructTag("json"))` does not honour the `encoding/json` skip directive `json:"-"`. Fields tagged `json:"-"` are registered in the CEL type system under the literal name `"-"` and are readable from any user-submitted CEL expr…