Skip to content

Adding support for customTypes in CEL environment #450

@AshwinSriram11

Description

@AshwinSriram11

Feature Description

Problem Statement:
Currently, resources are declared with cel.AnyType in kro due to which it lacks compile-time safety. This makes it hard to find errors early. Enabling customTypes would help set up validation and reduce failures. Currently, CEL expressions rely on emulation mechanics for validation. Implementing customTypes would allow CEL to validate expressions rather than depending on emulation natively. The emulation logic is in pkg/graph/emulator

Proposed Solution:

Alternatives Considered:

Additional Context:

  • Please vote on this issue by adding a 👍 reaction to the original issue
  • If you are interested in working on this feature, please leave a comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions