Changes between Initial Version and Version 1 of Ticket #27263, comment 8
- Timestamp:
- Sep 26, 2016, 12:19:01 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27263, comment 8
initial v1 1 1 Another option can be customizing each validator to not execute in case of existing errors. 2 2 3 Usually we need either to apply all validators or just first one, so probably this is not needed. But it can be implemented by adding additional argument to validator class and adding check with `getattr` for example in case it not exist. But validator can be also defined as simple function, so it brings additional complexity.3 Usually we need either to apply all validators or just first one, so probably this is redundant. But it can be implemented by adding additional argument to validator class and adding check with `getattr` for example in case it not exist. But validator can be also defined as simple function, so it brings additional complexity.