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 b'' form to represent bytes #457

Open
p1g3 opened this issue Oct 22, 2023 · 1 comment
Open

Add b'' form to represent bytes #457

p1g3 opened this issue Oct 22, 2023 · 1 comment
Labels

Comments

@p1g3
Copy link

p1g3 commented Oct 22, 2023

I noticed that cel-go supports the b'' format for representing bytes in expressions.

I noticed that cel-go supports the b'' format for representing bytes in expressions. Why doesn't expr support the b'' form for representing bytes? Is there an alternative way to represent bytes?

https://github.com/google/cel-spec/blob/master/doc/langdef.md#string-and-bytes-values

@antonmedv
Copy link
Member

I can add such feature. Now just use strings for bytes.

@antonmedv antonmedv changed the title expr does not support the b'' form to represent bytes Add b'' form to represent bytes Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants