Skip to content

Conversation

@howardjohn
Copy link
Collaborator

Breaking change: functions have been changed to camel case to align with CEL standards

Copilot AI review requested due to automatic review settings October 8, 2025 22:29
@howardjohn howardjohn requested a review from a team as a code owner October 8, 2025 22:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new regexReplace function to the CEL implementation and refactors existing function names to use camelCase instead of snake_case to align with CEL standards.

  • Added new regexReplace function for regex-based string replacement
  • Renamed functions from snake_case to camelCase (e.g., base64_encode to base64Encode, map_values to mapValues)
  • Updated documentation and tests to reflect the new function names

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
crates/agentgateway/src/cel/functions.rs Adds the new regexReplace function implementation and renames existing functions to camelCase
crates/agentgateway/src/cel/functions_tests.rs Updates test cases to use the new camelCase function names and adds tests for regexReplace
architecture/cel.md Updates documentation to reflect the new function names and adds documentation for regexReplace

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Breaking change: functions have been changed to camel case to align with
CEL standards
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@howardjohn howardjohn merged commit 3a369ed into agentgateway:main Oct 9, 2025
7 checks passed
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.

1 participant