Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support pack / unpack of google.protobuf.Any values #23

Closed
2 tasks done
TristonianJones opened this issue May 1, 2018 · 0 comments
Closed
2 tasks done

Support pack / unpack of google.protobuf.Any values #23

TristonianJones opened this issue May 1, 2018 · 0 comments
Assignees

Comments

@TristonianJones
Copy link
Collaborator

Issue Filing Checklist

  • There are no issues that match the desired change
  • The change is large enough it can't be addressed with a simple Pull Request

Change

The CEL language definition indicates that google.protobuf.Any values are automatically
packed / unpacked to their underlying proto message during expression evaluation. At present,
the interpreter does not handle this.

Example

If msg is declared as a message containing a field any of type google.protobuf.Any, the
value of any could be any protobuf message type supported by the types.Provider and
it should be automatically converted to this underlying type

// treat msg.any as a Timestamp when it is a google.protobuf.Timestamp
msg.any < timestamp("2017-01-01T00:00:00Z")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants