Commit Graph

15 Commits

Author SHA1 Message Date
82ab0b963c Switch to esm and add import auto format 2021-05-03 20:52:52 +02:00
acc5233185 Error handling: transform single validation errors into a validation bag 2020-11-14 16:25:18 +01:00
b8905ea02b Move Controller.validate to static Validator.validate 2020-11-11 19:29:23 +01:00
79d704083a Add many eslint rules and fix all linting issues 2020-09-28 14:15:22 +02:00
f6b326f802 Move EMAIL_REGEXP to Validator 2020-09-06 10:21:47 +02:00
e403dfa863 ModelQuery: fix field disambiguation 2020-09-05 15:51:44 +02:00
4ab615c457 Validator: break on first failed step to avoid further errors 2020-08-26 15:02:24 +02:00
66ec3c0b47 Validator: add more information when exception is thrown in verifyStep 2020-08-26 14:56:34 +02:00
ec5b2b9aa0 Revamp model system
- Add model relations
- Get rid of SQL_CALC_FOUND_ROWS (deprecated)
- Eager loading
2020-06-27 14:45:05 +02:00
adf380c19d Add request parsing middlewares to controllers 2020-06-14 17:33:37 +02:00
e63b5d21fe Add left join to query builder 2020-06-14 11:43:31 +02:00
424a86fe53 Validator: add custom value transform function for display
+ Version 0.4.22
2020-05-04 22:06:20 +02:00
b13d70bfc0 Improve validation messages and add more validation rules 2020-04-25 16:08:53 +02:00
b401c9732c Add minLength and maxLength to Validator 2020-04-25 09:33:15 +02:00
662d12df68 Add sources 2020-04-22 17:49:58 +02:00