| 552 | // ***** Endpoint for ValidatorDifferent ****** |
| 553 | C_ATTR(different, :Local :AutoArgs) |
| 554 | void different(Context *c) |
| 555 | { |
| 556 | Validator v({new ValidatorDifferent(u"field"_s, u"other"_s, nullptr, m_validatorMessages)}); |
| 557 | checkResponse(c, v.validate(c)); |
| 558 | } |
| 559 | |
| 560 | // ***** Endpoint for ValidatorDigits without exact length ****** |
| 561 | C_ATTR(digits, :Local :AutoArgs) |