Skip to content

Support lists in expressions #4189

@TomasEng

Description

@TomasEng

Our expression language needs a list function that creates a list from its arguments.

Example:

["list", 1, 2, 3]

returns

[1, 2, 3]

In addition, list should be a valid return type of other expressions.

Acceptance criteria

  • There is a list function that returns a list
  • Source functions (like dataModel) that refer to a list return that list
  • Existing functions treat lists the same way they treat other invalid values
  • The JSON Schema used by the expression editor in Studio is updated

Metadata

Metadata

Assignees

Labels

area/logicrelated to logic/dynamics/expressionssquad/dataIssues that belongs to the named squad.
No fields configured for Feature.

Projects

Status

👷 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions