cel-python icon indicating copy to clipboard operation
cel-python copied to clipboard

'MessageType' support

Open Alfus opened this issue 2 years ago • 2 comments

I am in the process of implementing protovalidate in pure-python using cel-python have push things as far as I can from the outside leaving me the following 7 issues:

image

1-2, 5-7: cel-python doesn't support nano resolution 3: cel-python doesn't support protobuf messages 4: cel-python doesn't check the data is valid before applying the regex

I am mostly interested (3). I have implemented most of the logic needed to seamlessly integrate protobuf into cel-python, by materializing protobuf messages as a map; however, as protobuf supports cycles in the type system, this is insufficient (as well as inefficient). I am curious if there is any interest to add support, potentially based on the code I have already written.

Alfus avatar Jun 08 '23 23:06 Alfus

pull requests welcome, ideally the protobuf integration is limited to when using protobuf.

kapilt avatar Jul 22 '23 15:07 kapilt

"based on the code I have already written" Intriguing. Please share more. A pull request would be a very helpful way to clarify your intent.

slott56 avatar May 21 '24 19:05 slott56