Skip to content

Allow for cascaded formatters or formatters taking multiple args #230

@jr1221

Description

@jr1221

A common usecase is offsetting a variable and multiplying it. (see imd.json HV system) This cannot be done right now as offset and multiply are mutually exclusive and we cannot make an "offset_and_multiply" because we would need to pass two arguments.

Therefore two possible solutions:

  • Allow for multiple formatters, be aware of pemdas! Then you can add an offset and a multiply
  • Allow for the formatter to take in multiple arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions