Skip to content

Add support for expression objects #899

Closed
@cdavernas

Description

@cdavernas

What would you like to be added:

Provide support for using both object and string expressions for input.from, export.as and output.as.

Why is this needed:

  • Convenience
  • Improved readability for complex expressions

Currently:

...
output: 
  as: '{ style: { shape: "circle", backgroundColor: .colors[0] } }'

Proposal:

...
output:
  as:
    shape: circle
    style:
      backgroundColor: ${ .colors[0] }

Metadata

Metadata

Assignees

Labels

area: specChanges in the Specificationchange: documentationImprovements or additions to documentation. It won't impact a version change.change: featureNew feature or request. Impacts in a minor version change

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions