Skip to content

Calculated fields #61

@manchuwook

Description

@manchuwook

Given I create a new record with sub-records, how would I return calculated fields from the sub-record?

Record A
Strength: { level: number }
Record B: lift: number { A.Strength.level * 10 }
Record C: punchBonus: number { A.Strength.level / 2 }

A.Strength.level: 10
A.B.lift: 100
A.C.punchBonus: 5

I'm a bit confused with the domain-specific language. I'm using typescript.

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