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 strings.quote #639

Merged
merged 18 commits into from
Mar 14, 2023
Merged

Conversation

DangerOnTheRanger
Copy link
Contributor

@DangerOnTheRanger DangerOnTheRanger commented Jan 31, 2023

This PR adds strings.quote, which is intended to quote escape sequences mentioned in the CEL spec and allow the output to be safely copy-pasted into a CEL expression.

@DangerOnTheRanger DangerOnTheRanger changed the title [WIP] Add string.escape Add string.escape Feb 1, 2023
@TristonianJones
Copy link
Collaborator

/gcbrun

ext/strings.go Outdated Show resolved Hide resolved
ext/strings.go Outdated Show resolved Hide resolved
ext/strings_test.go Outdated Show resolved Hide resolved
@DangerOnTheRanger DangerOnTheRanger changed the title Add string.escape Add strings.quote Feb 16, 2023
@TristonianJones
Copy link
Collaborator

/gcbrun

@TristonianJones
Copy link
Collaborator

/gcbrun

ext/strings.go Outdated Show resolved Hide resolved
@TristonianJones
Copy link
Collaborator

/gcbrun

@jpbetz
Copy link
Collaborator

jpbetz commented Mar 10, 2023

Please version gate this and add version test case.

ext/strings.go Outdated Show resolved Hide resolved
ext/strings_test.go Outdated Show resolved Hide resolved
@jpbetz
Copy link
Collaborator

jpbetz commented Mar 11, 2023

Please add runtime and estimated costs.

@TristonianJones
Copy link
Collaborator

/gcbrun

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

Successfully merging this pull request may close these issues.

4 participants