3
0

29 Commits

Author SHA1 Message Date
Denis Arh
ecb7f52c31 Improve error creation & handling by API 2020-11-04 14:18:33 +01:00
Denis Arh
02d18175f9 Fix codegen when search cfg is sorting&&!paging 2020-10-29 08:23:04 +01:00
Denis Arh
24285e8d32 Support custom parsers for REST params 2020-10-26 19:16:47 +01:00
Denis Arh
9a21226163 Fix Delete/delete store config inconsistency 2020-10-18 16:13:36 +02:00
Denis Arh
754ebbde95 Refactor value preprocessing out of RDBMS to store 2020-10-18 16:13:36 +02:00
Denis Arh
56422397cc Fix types.yaml search path for codegen 2020-10-06 21:11:38 +02:00
Denis Arh
02f70476b1 Fix codegen templates to gen. list of PKs
check*Constraints fn now generates list of PKs when ensuring constraints
2020-09-30 12:29:44 +02:00
Denis Arh
5eba380f19 Cleanup, instrumentation 2020-09-15 07:24:28 +02:00
Denis Arh
464a8ecd93 Unexport partial...update() store functions, fix messaging 2020-09-09 13:27:27 +02:00
Denis Arh
24f8457d71 Rename Storable interface to Storer
See https://golang.org/doc/effective_go.html#interface-names
2020-09-09 08:40:50 +02:00
Denis Arh
6206aacdca Simplify RDBMS codegen templates 2020-09-07 10:29:36 +02:00
Denis Arh
62cae2c3c1 Simplifty lookup field/column handling in codegen templates 2020-09-07 10:22:03 +02:00
Denis Arh
758aaa2374 Move field-to-column mapping under RDBMS 2020-09-07 08:39:35 +02:00
Denis Arh
f7070b4fa5 Fix tests, improve constraint checking 2020-09-06 15:37:19 +02:00
Denis Arh
8dc5315b75 RDBMS store query handler now accepts sqlizer 2020-09-01 21:28:45 +02:00
Denis Arh
16aa32cd4b Expand arg on variadic function (codegen template) 2020-09-01 21:27:09 +02:00
Denis Arh
6120520a03 Refactored (paged) fetching/searching 2020-09-01 07:25:34 +02:00
Denis Arh
f2a4c64229 Fix reporting ret. value type, comment-out store hooks on tpl level 2020-08-29 16:01:25 +02:00
Denis Arh
ccdc494177 Fix error handling while fetching rows 2020-08-29 15:52:59 +02:00
Denis Arh
68525e823b Fix store test codegen 2020-08-28 07:04:59 +02:00
Denis Arh
361a9007bf Cleaner store API 2020-08-26 14:49:33 +02:00
Denis Arh
3d4c2e2f9a Remove transaction from create/update/remove procedures 2020-08-24 15:43:04 +02:00
Denis Arh
b0ea1da89f Add proper handling of unique-constraint errors 2020-08-24 15:43:04 +02:00
Denis Arh
349ff3cf2d Add improved sorting and key-based pagination 2020-08-24 15:43:04 +02:00
Denis Arh
9290f160a8 Implement new paging with resource check on filter 2020-08-24 15:43:03 +02:00
Denis Arh
8ac6c17ea8 Rename generated interfaces (for easier ext.) 2020-08-24 15:41:01 +02:00
Denis Arh
7ef781d84c Add isGeneric check for action errors 2020-08-24 15:41:01 +02:00
Denis Arh
c8d552e6a6 Implement new store infrastructure 2020-08-24 15:40:15 +02:00
Denis Arh
6a73758d2c Refactored codegen tool 2020-08-24 15:38:42 +02:00