David Sowerby opened issue #208: Constraints vs Conditions at David Sowerby / takkan

David Sowerby
2023-11-24T22:00:47Z

There are different scenarios for defining some form of condition or constraint:

Field validation, where the field name is not required, because it is already tied to a field

Document validation, where the field name is required

Query constraints, where the field name is required. This may also require a dot notation approach to fields within linked documents

Form validation, spanning multiple documents

We currently have a single Condition and ConditionFinal, with some coding gymnastics to get around the differences between Query constraints and field validation.

This needs a thorough rethink