Skip to content

Conversation

@adityathebe
Copy link
Member

resolves: #128

@adityathebe adityathebe changed the title fix: f() gotemplate cel function feat: f() gotemplate cel function Aug 15, 2025
@adityathebe adityathebe force-pushed the feat/f-strings-template-cel-func branch from b035e1a to 371e461 Compare August 15, 2025 05:26
Copy link

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

Implements a new CEL function f() that enables GoTemplate functionality within CEL expressions. This allows CEL to process template strings with both $() and {{}} delimiters using the existing GoTemplate engine.

Key changes:

  • Added new CEL function f() that accepts a format string and data object
  • Added comprehensive test coverage for the new functionality
  • Reorganized imports for better structure

Reviewed Changes

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

File Description
cel.go Implements the new f() CEL function with GoTemplate integration and data handling logic
tests/cel_test.go Adds test cases for the new GoTemplate CEL function and reorganizes imports

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

@moshloop moshloop merged commit c7d68d5 into main Aug 15, 2025
4 checks passed
@moshloop moshloop deleted the feat/f-strings-template-cel-func branch August 15, 2025 06:33
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.

gotemplate function

3 participants