Commit graph

291 commits

Author SHA1 Message Date
Zach Daniel
ac1628b81d
fix: in predicate + engine errors 2020-07-04 01:45:28 -04:00
Zach Daniel
2c6ed51661
docs: add short type references 2020-07-01 09:37:42 -04:00
Zach Daniel
e90d509ccb
fix!: remove atom type, add docs 2020-07-01 00:45:15 -04:00
Zach Daniel
b5120a42b5
feat: list types 2020-06-30 23:57:24 -04:00
Zach Daniel
05848d5f4a
feat: refactor ash types to modules, add constraints 2020-06-30 17:29:43 -04:00
Zach Daniel
2228617e8f
fix: remove benchee, ensure mnesia always uses transactions 2020-06-30 12:21:08 -04:00
Zach Daniel
e565d753ce
fix: stop gitignoring the mnesia data layer 2020-06-30 09:58:04 -04:00
Zach Daniel
e1f6d7bca0
fix: try to fix ash.formatter task 2020-06-30 09:53:37 -04:00
Zach Daniel
24d66b3f39
fix: test/improve parallelizable requests 2020-06-30 01:19:20 -04:00
Zach Daniel
8438795f96
fix: require that resources have primary keys 2020-06-30 00:31:07 -04:00
Zach Daniel
807b16e268
fix: move to simpler transaction logic 2020-06-29 17:42:01 -04:00
Zach Daniel
05f2d9ad64
WIP 2020-06-29 17:20:29 -04:00
Zach Daniel
c39709761d
fix: fix tests/credo 2020-06-28 23:43:35 -04:00
Zach Daniel
b5c3f7acc4
fix: fix tests, add tests for gt/lt filters 2020-06-28 23:36:38 -04:00
Zach Daniel
473c49577c
feat: add less_than and greater_than filter support 2020-06-28 23:22:41 -04:00
Zach Daniel
22eeb29d8f
feat: validate all related resources in API 2020-06-28 23:00:56 -04:00
Zach Daniel
1cd586a59c
feat: cross data layer filters 2020-06-28 21:31:54 -04:00
Zach Daniel
30319f31f1
feat: cross data layer filtering 2020-06-28 02:20:33 -04:00
Zach Daniel
564d095f2a
feat: section option configuration 2020-06-27 14:24:54 -04:00
Zach Daniel
8c1886df10
fix: set persistent_term properly 2020-06-26 18:24:18 -04:00
Zach Daniel
a6916e4c44
chore: switch from on_load to application start 2020-06-26 18:20:02 -04:00
Zach Daniel
ec69ac7117
fix: use authorization filters in side loads 2020-06-22 02:11:59 -04:00
Zach Daniel
c89acce635
fix: remove reverse relationships 2020-06-22 00:34:44 -04:00
Zach Daniel
e6e9f88710
fix: many filter/side load fixes/improvements 2020-06-21 23:26:47 -04:00
Zach Daniel
cf199b70e6
fix: allow side_load option on create/update 2020-06-20 19:41:57 -04:00
Zach Daniel
d95e984193
fix: raised error message contents 2020-06-18 23:53:46 -04:00
Zach Daniel
846f842d98
fix: parent error messages 2020-06-18 23:43:06 -04:00
Zach Daniel
2742a8f1f1
fix: relationship path clause 2020-06-18 23:08:55 -04:00
Zach Daniel
1033677259
feat: boolean filter refactor (#78)
feat: predicate behaviour
2020-06-18 22:59:30 -04:00
Zach Daniel
2a4fc7ebb1
fix: consider nested entities in ash.formatter 2020-06-15 03:28:47 -04:00
Zach Daniel
a97927fa2e
fix: compile application in ash.formatter task 2020-06-15 03:02:33 -04:00
Zach Daniel
b6101a4dff
feat: extension section module imports, generated .formatter.exs (#71) 2020-06-15 02:40:33 -04:00
Zach Daniel
c776da9237
chore: release version v0.4.0 2020-06-14 02:42:44 -04:00
Zach Daniel
6dc699d8a6
feat: rebuild DSL inner workings for extensibility (#70) 2020-06-14 02:39:11 -04:00
Zach Daniel
5f2019027d
improvement: add date support (#68) 2020-06-12 22:39:20 -04:00
Zach Daniel
0092af6a94
fix: dialyzer warnings 2020-06-09 01:13:20 -04:00
Zach Daniel
2daa72e165
feat: add after_compile and validate primary key 2020-06-07 03:30:38 -04:00
Zach Daniel
f7912b54fb
docs: abstract shared relationship DSL options 2020-06-07 03:18:49 -04:00
Zach Daniel
ff2e342741
fix: honor the authorize? flag 2020-06-05 14:35:02 -04:00
Zach Daniel
1cc143e7fa
test: adjust tests for removal of name/type (and defaults) 2020-06-04 23:34:44 -04:00
Zach Daniel
d5fc20f07c
fix: account for action/actor args to interface 2020-06-04 23:22:00 -04:00
Zach Daniel
1b94ca891c
fix: remove the rest of the deps on name/type 2020-06-04 23:19:23 -04:00
Zach Daniel
651872a67f
fix: add resource_module?/1 back to Ash 2020-06-04 22:43:51 -04:00
Zach Daniel
ecbdaa1abb
feat: remove name/type from ash core 2020-06-04 22:43:30 -04:00
Zach Daniel
71c49cb215
feat: use option schemas in the interface (#30) 2020-06-04 21:54:55 -04:00
Zach Daniel
68d0ba44e7
fix: references to error handling code 2020-06-04 02:21:20 -04:00
Zach Daniel
797792f947
docs: update documentation 2020-06-04 02:16:59 -04:00
Zach Daniel
6b73e855a1
docs: make most moduledocs private 2020-06-02 23:51:39 -04:00
Zach Daniel
84422d1f98
fix: fix empty filter checks 2020-06-02 18:24:19 -04:00
Zach Daniel
f42462408a
docs: fix unclosed backquotes 2020-06-02 02:05:06 -04:00
Zach Daniel
7c987b32bb
chore: wrap up remaining lint errors 2020-06-02 01:47:25 -04:00
Zach Daniel
451d4d62f0
fix: typo in function name 2020-06-02 00:44:57 -04:00
Zach Daniel
9ac266e6c0
chore: move #TODO comments into readme for now 2020-06-02 00:41:07 -04:00
Zach Daniel
ebf6c8ffe3
chore: address refactor opportunity lint errors 2020-06-02 00:24:08 -04:00
Zach Daniel
21fae1aed1
chore: address sobelow warnings 2020-06-01 23:37:50 -04:00
Zach Daniel
9a0be3a072
chore: fix dialyzer build errors 2020-06-01 23:23:50 -04:00
Zach Daniel
b5c2fe6cf6
chore: remove ashton in favor of nimble_options 2020-06-01 01:14:23 -04:00
Zach Daniel
525e3ae268
fix: combine filters properly 2020-06-01 01:02:33 -04:00
Zach Daniel
6fbfb8b2bc
fix: dependencies 2020-06-01 00:51:02 -04:00
Zach Daniel
908bbbcdb8
fix: honor returned check filters 2020-05-31 03:14:30 -04:00
Zach Daniel
377319e881
feat: add data layer custom filters 2020-05-31 01:52:00 -04:00
Zach Daniel
7820adeebe
WIP 2020-05-30 23:55:45 -04:00
Zach Daniel
9dca201f79
WIP 2020-05-30 23:55:01 -04:00
Zach Daniel
fdb6f055fa
WIP 2020-05-30 03:29:27 -04:00
Zach Daniel
5912595208
fix: side_load queries 2020-05-27 22:31:40 -04:00
Zach Daniel
e05b6b55d6
fix: many to many relationship side loads 2020-05-27 09:42:05 -04:00
Zach Daniel
65aa5215fe
finalize engine refactor 2020-05-27 00:29:54 -04:00
Zach Daniel
9d76bb1d9b
WIP 2020-05-27 00:29:54 -04:00
Zach Daniel
227532db29
WIP 2020-05-27 00:29:54 -04:00
Zach Daniel
1ed9d3c5fa
WIP 2020-05-27 00:29:54 -04:00
Zach Daniel
b876f87e23
WIP 2020-05-27 00:29:53 -04:00
Zach Daniel
b174bc6433
WIP: start work on engine-2 2020-05-27 00:29:53 -04:00
Zach Daniel
2f37228ab4
fix: protect against double data resolution 2020-05-15 02:54:46 -04:00
Zach Daniel
ad8f2c0826
WIP 2020-05-15 02:29:12 -04:00
Zach Daniel
08d373c207
WIP 2020-05-15 02:27:13 -04:00
Zach Daniel
8a2319cb41
WIP 2020-05-15 02:04:14 -04:00
Zach Daniel
a594747515
WIP 2020-05-15 02:02:46 -04:00
Zach Daniel
2e283aa493
WIP 2020-05-15 01:58:07 -04:00
Zach Daniel
eb655c6d4f
WIP 2020-05-15 01:56:03 -04:00
Zach Daniel
3b10b1ced4
WIP 2020-05-15 01:51:29 -04:00
Zach Daniel
f33841be7f
WIP 2020-05-15 01:49:10 -04:00
Zach Daniel
0b5c362ed1
WIP 2020-05-15 01:44:13 -04:00
Zach Daniel
482dadf1eb
WIP 2020-05-15 01:42:24 -04:00
Zach Daniel
0af7c5fdb9
WIP 2020-05-15 01:36:46 -04:00
Zach Daniel
d44d372902
WIP 2020-05-15 01:31:58 -04:00
Zach Daniel
a1f33d7249
WIP 2020-05-15 01:08:36 -04:00
Zach Daniel
5cc928f192
WIP 2020-05-15 01:06:51 -04:00
Zach Daniel
ccf30bafac
WIP 2020-05-15 01:03:43 -04:00
Zach Daniel
26cd1c4af9
WIP 2020-05-15 00:59:30 -04:00
Zach Daniel
548bc41145
WIP 2020-05-15 00:44:37 -04:00
Zach Daniel
bb8202d66a
WIP 2020-05-15 00:42:43 -04:00
Zach Daniel
099330559d
fix: various small improvements 2020-05-15 00:29:47 -04:00
Zach Daniel
04a53e585b
feat: various fixes, upsert, relationship changes 2020-05-14 18:01:34 -04:00
Zach Daniel
fd4dce3b93
fix: various bugs 2020-05-13 13:52:08 -04:00
Zach Daniel
1cc096e621
improvement: huge query/filter overhaul 2020-05-13 11:54:44 -04:00
Zach Daniel
596a8e3d75
improvement: remove pagination, add query struct (unused) 2020-05-09 22:23:23 -04:00
Zach Daniel
22e649a755
improvement(filters): simplify/improve inspect logic 2020-05-09 20:02:40 -04:00
vherr2
e0efa2a12c Updates guard with perf feedback 2020-05-09 16:32:14 -07:00
vherr2
127d4abd62 Fixes guard for maps 2020-05-09 16:30:21 -07:00
vherr2
c89600a248 refactor(filter, inspect): adds helpers and guards to clarify code
Creates private guard for checking against nil/empty values; Moves variable assignment outside of
function heads when not required for differentiating pattern matching; Adds helpers for parsing
attributes and relationships
2020-05-09 16:26:59 -07:00