forked from gaperton/Type-R
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
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
Labels
No labels