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

Add access to the descriptor (of a protobuf message). #351

Closed
yangzh opened this issue Apr 25, 2024 · 1 comment
Closed

Add access to the descriptor (of a protobuf message). #351

yangzh opened this issue Apr 25, 2024 · 1 comment

Comments

@yangzh
Copy link

yangzh commented Apr 25, 2024

Feature description:

would it be possible to add access (from CEL) to the descriptor of a message (or a field, an enum, etc).

Problem it solves or use case:
I would like to store the schema / descriptor of a protobuf message for a BLOB column (in database, for example), and it would be helpful if I can have a self-contained descriptor with the column via CEL.

Proposed implementation or solution:

This can be in the form of a new CEL function, like this:

descriptor(this) -> DescriptorProto

Contribution:
No, but I'm happy to test / feedback.

@yangzh
Copy link
Author

yangzh commented Apr 29, 2024

I happened to notice this previous issue (#320)

@yangzh yangzh closed this as completed Apr 29, 2024
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

1 participant