Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow message being a _StrPromise object for RegexValidator.
One intended usage of lazystr is to postpone the translation of the error message of a validation error. It is possible that we pass a Promise (specifically _StrPromise) and only evaluate it when a ValidationError is raised. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
- Loading branch information