Ensure model data can be made available to all rule functions, possibly encourage a convention or use a transient field.
This is for the use case when a validation rule needs to perform an operation (search database etc) but an existing object already provides the functionality, it may be passed in to validation processing and made available to rule functions.
Ensure model data can be made available to all rule functions, possibly encourage a convention or use a
transient
field.This is for the use case when a validation rule needs to perform an operation (search database etc) but an existing object already provides the functionality, it may be passed in to validation processing and made available to rule functions.