Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Add ability to parse variables in expression from context for CEL #716

Description

@vincent-pli

Feature request

The CEL is a great feature, we plan to adopt in our project, but seems it can not support parse expression which include other variables, for example:

  params:
    - name: name
      value: "'hello'"
    - name: types
      value: "type(name)"

see the name has been defined in first param and expect to used in second param.
I guess this is not required in when express, but useful in other scenario.

In our case, we will set some initialize variables in some runtime storage (maybe a runtime created CM), and in expression, we will use these variables.

Use case

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions