Changes between Initial Version and Version 1 of Ticket #27263, comment 8


Ignore:
Timestamp:
Sep 26, 2016, 12:19:01 AM (8 years ago)
Author:
Alexey Rogachev

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27263, comment 8

    initial v1  
    11 Another option can be customizing each validator to not execute in case of existing errors.
    22
    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.
     3Usually 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.
Back to Top