Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Allow field values to depend on multiple other field values

No due date 80% complete

See #1317 for the original epic about this (which converted to this milestone)

Recently we added some single date dependency relationships in #804 and #1235 (which should do first) exists to do the same for numbers

We now want to be able to handle having fields depend on multiple fields rather than only one.
This is so can define Open, Close, High and Low…

See #1317 for the original epic about this (which converted to this milestone)

Recently we added some single date dependency relationships in #804 and #1235 (which should do first) exists to do the same for numbers

We now want to be able to handle having fields depend on multiple fields rather than only one.
This is so can define Open, Close, High and Low price columns where: Both Open and Close prices are constrained to be between Low and High; Low is <= High

Ideally would make the solution generic across dates and numbers so that there is less repeated code.

Want to be able to do things like:
Number 1 > Number 2 and Number 1 < Number 3.

{
  "field": "Open",
  "is": "lessThan",
  "otherField": "High"
}
{
  "field": "Open",
  "is": "greaterThan",
  "otherField": "Close"
}

Not currently supported:
Number 1 = Number 2 - Number 3

{
  "field": "bar",
  "is": "equalTo",
  "otherField": "foo",
  "offsetField": "foobar"
}

Likewise for dates and any other fields that can do single dependencies for.
There is already a story for this at #1240