ed7ecd8758
delete the pkg directory
2021-07-16 17:44:41 +02:00
31a713ec38
return types instead of interfaces
2021-07-14 07:13:51 +02:00
8a75773d6d
rename the models package to model
2021-07-14 06:58:10 +02:00
b15dd6f714
update error messages
2021-05-14 15:34:26 +02:00
a7308c1080
limit the number of orders that someone can add to a query (3)
2021-05-09 11:59:37 +02:00
89ec5586f0
use make to initialize slices in the repositories
2021-05-06 17:08:28 +02:00
db31c0fb12
use nil declaration for slices
2021-05-04 20:37:06 +02:00
6fc7af4b50
bump github.com/Kichiyaki/goutil
2021-05-04 19:19:14 +02:00
f907e7294e
add github.com/Kichiyaki/goutil, github.com/Kichiyaki/appmode, github.com/Kichiyaki/gopgutil
2021-05-02 13:16:32 +02:00
7de549f183
rename/move some of the packages/files
2021-05-02 08:36:10 +02:00
5b0efa2ee7
increase the max length of a qualification name (100 -> 200)
2021-04-11 11:45:47 +02:00
efafee1ccd
qualification_pg_repository.GetSimilar should return an empty slice when len(qualificationIDs) == 0
2021-04-05 17:31:36 +02:00
afaea39c5e
fix: question_pg_repository.associateQualificationWithProfession does nothing on conflict
2021-04-04 19:52:15 +02:00
0b14efd014
replace fmt.Errorf with errors.New/errors.Errorf
2021-03-27 16:20:55 +01:00
c3c57b780c
add a new method to the Qualification usecase/repository - GetSimilar
2021-03-27 16:03:43 +01:00
311026fb7a
update algorithm that computes query complexity
2021-03-24 06:15:48 +01:00
e936b9b0ed
add a new field to the Profession graphql type (Qualifications)
2021-03-21 18:19:22 +01:00
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
a44afa628c
update main.go, bugfixes
2021-03-06 14:02:48 +01:00
b066446051
add QualificationInput sanitization
2021-03-06 09:01:22 +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