Commit Graph

13 Commits

Author SHA1 Message Date
01ab1aa509 small refactor 2021-03-13 16:05:20 +01:00
81900132ea profession, qualification, user: fix sorting 2021-03-11 20:23:53 +01:00
12d8fb51f4 - add a new method 'HasBasicDataToUpdate' to the two inputs: QuestionInput and QualificationInput
- small changes in error handling (qualification.pgRepository.UpdateMany, qualification.pgRepository.Store, profession.pgRepository.UpdateMany, profession.pgRepository.Store)
2021-03-07 13:06:00 +01:00
82853734be another part of bugfixes 2021-03-06 14:43:50 +01:00
75253f2c02 add ProfessionInput sanitization 2021-03-06 08:58:57 +01:00
56c8c9160b rename two utils (sqlutils.SanitizeSortExpression -> sqlutils.SanitizeSort, sqlutils.SanitizeSortExpressions -> sqlutils.SanitizeSorts), add a new helper type to db package (Sort) 2021-03-06 08:44:49 +01:00
838a93b8b5 refactor, add question.Usecase implementation 2021-03-05 19:52:15 +01:00
8fae4a2b03 add qualification repository and usecase 2021-02-27 14:46:00 +01:00
a9d7250623 add user usecase/repository | add admin acc creation when none exists 2021-02-27 14:01:59 +01:00
532cf70b84 profession - add validation to UpdateOne and Store methods 2021-02-27 12:40:06 +01:00
3414f8cbb5 add sort expression sanitization 2021-02-27 12:17:29 +01:00
b1a50a3e1e profession - add usecase 2021-02-27 12:12:16 +01:00
f49dfc5c43 profession: add pg_repository, add a new package errorutils 2021-02-27 11:33:16 +01:00