Skip to content

Add ability to pass data to expression renderers #64420

@streamich

Description

@streamich

expressions plugin has special handling for uiState and it has TypeScript type any. expressions plugin should not explicitly know about uiState and have good TypeScript typing for extra data passed to expression renderers.

  • Add mechanism to allow expression users to pass extra parameters to expression renderer.
  • Remove special handling for uiState.
  • User should be able to provide type of parameters they pass to expression renderer. The value is typed to object and user should cast it to the correct type.

Parent issue: #46909

Metadata

Metadata

Assignees

Labels

Feature:ExpressionLanguageInterpreter expression language (aka canvas pipeline)technical debtImprovement of the software architecture and operational architecture

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions