Closed mattvot closed 9 years ago
Please, use this here with _ prefix for policy because there will be a conflict if somebody will use 2 different configurations at a time.
How do you access this._policy from enforceExistence when it is defined as a property of enforceExistence.configure?
When using this._policy for both enforceExistence and enforceExistence.configure it fails tests.
Maybe I'm misunderstanding the request, please help :)
@mattvot Sorry for a big delay. There were a bug in configuring validators, since now I've fixed that and the current master calls configure
with the rule context (as well as validating function itself).
I hope you'll be fine if I finish this rule to push a release ;-)
Can now specify checking documentation existence for: