protoyaml-go icon indicating copy to clipboard operation
protoyaml-go copied to clipboard

Add support for cel expressions to scalar types

Open Alfus opened this issue 1 year ago • 1 comments

Since protoyaml depends on protovalidate, cel-go is already a dependency. Scalars that do not trivially parse are passed through cel to see if they can be evaluated. The tag !cel can be used to force cel evaluation for strings. Similar to protovalidate, this and now are bound.

Alfus avatar Jan 01 '25 21:01 Alfus

protoyaml is not protojson and you cannot fuzz them like that for many reason.

Alfus avatar Apr 25 '25 15:04 Alfus