tmpfs / async-validate

Asynchronous type validation for node and the browser
Other
314 stars 45 forks source link

Assert on transient model data #31

Closed tmpfs closed 8 years ago

tmpfs commented 8 years ago

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.