Commit graph

1109 commits

Author SHA1 Message Date
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
Zach Daniel
6d78286112
Merge pull request #11 from ash-project/move-inspect-impl-to-struct-files
refactor(filter): moves defimpl Inspect to corresponding struct files
2020-05-09 19:25:10 -04:00
vherr2
665f82a45e refactor(filter): moves defimpl Inspect to corresponding struct files
Colocates defimpl Inspect with the corresponding struct. This should help colocate the struct itself
with the IO representation of the entity.
2020-05-09 16:20:55 -07:00
vherr2
666c1968e2 Fixes compilation warning for unused variable 2020-05-09 15:03:17 -07:00
Zach Daniel
91a4a668bf
fix: verbose? now prints auth log 2020-05-09 16:24:41 -04:00
Zach Daniel
1278eaedbd
feat: add side_load 2020-05-07 01:34:34 -04:00
Zach Daniel
4d73d771ea
improvement: add DslBuilder pattern for deriving dsl blocks 2020-05-07 00:12:29 -04:00
Zach Daniel
67ae03c810
improvement: add new types 2020-05-06 23:14:55 -04:00
Zach Daniel
9beea38b7a
WIP 2020-05-02 05:01:57 -04:00
Zach Daniel
7a28c7b9bd
feat: add timestamps/0 to attributes 2020-05-01 10:22:31 -04:00
Zach Daniel
2dea5d6d33
WIP on new error system. Only a few tests left to fix 2020-05-01 02:21:46 -04:00
Zach Daniel
e013341f11
fix: read generated fields after writes 2020-04-30 23:31:32 -04:00
Zach Daniel
5faff254bf
fix: more fixes 2020-04-30 23:18:04 -04:00
Zach Daniel
b988632aa3
fix: fetch_attr right 2020-04-30 23:16:48 -04:00
Zach Daniel
cf94465996
fix: attribute defaults 2020-04-30 23:15:06 -04:00
Zach Daniel
2d26d94fe2
feature: add update_defaults 2020-04-30 23:05:06 -04:00
Zach Daniel
4ea1d53a30
fix: use attribute name in error 2020-04-30 22:52:24 -04:00
Zach Daniel
7758d4069c
fix: fetch_attr return value 2020-04-30 22:45:45 -04:00
Zach Daniel
736a98d8c4
fix: writeable is not a word 2020-04-30 22:43:57 -04:00
Zach Daniel
6d12eb8546
fix: correct writeable attribute logic 2020-04-30 22:42:06 -04:00
Zach Daniel
035a857138
feat: support writeable?: false attributes 2020-04-30 22:30:15 -04:00
Zach Daniel
b567bc1f2f
fix: required attribute validations 2020-04-30 22:10:01 -04:00
Zach Daniel
8cbad05f4a
fix: use resource's primary key config 2020-04-30 20:16:58 -04:00
Zach Daniel
b7ca80d2eb
fix: fix resolvable requests logic 2020-04-30 13:36:16 -04:00
Zach Daniel
73c51943cf
WIP 2020-04-29 23:10:48 -04:00
Zach Daniel
f6bca5942b
WIP 2020-04-29 21:01:44 -04:00
Zach Daniel
51fcf1a498
WIP 2020-04-28 00:12:57 -04:00
Zach Daniel
61c0ffee50
WIP 2020-04-25 23:56:21 -04:00
Zach Daniel
2e0aa229be
WIP 2020-04-24 10:27:47 -04:00
Zach Daniel
ec404bc89f
WIP 2020-04-20 00:43:33 -04:00
Zach Daniel
24d1bd03c4
WIP 2020-04-19 23:15:52 -04:00
Zach Daniel
8170efca8a
WIP 2020-04-19 14:01:01 -04:00
Zach Daniel
61c46f33a3
WIP 2020-04-18 23:26:05 -04:00
Zach Daniel
bee1150385
WIP 2020-04-12 18:52:52 -04:00
Zach Daniel
9766db8b92
WIP 2020-04-12 18:33:03 -04:00
Zach Daniel
290a2e2048
WIP 2020-04-05 14:54:05 -04:00
Zach Daniel
68b8261411
WIP 2020-04-05 06:25:17 -04:00
Zach Daniel
3a6543a9b3
WIP 2020-04-05 06:25:17 -04:00
Andrew Callahan
d850cd242a remove duplicate key 2020-03-29 11:59:14 -05:00
Zach Daniel
3e928d3462
WIP 2020-03-28 16:26:13 -04:00
Zach Daniel
bed0a39cf2
WIP 2020-01-14 15:02:30 -05:00
Zach Daniel
ed2b24d590
WIP 2020-01-14 14:00:38 -05:00
Zach Daniel
c6521a668c
WIP 2020-01-13 13:39:55 -05:00
Zach Daniel
a831af570d
WIP 2020-01-13 13:16:24 -05:00
Zach Daniel
ebd8291631
WIP 2020-01-11 00:09:52 -05:00
Zach Daniel
9bb19f95ad
WIP 2020-01-10 12:27:16 -05:00
Zach Daniel
a6ca37f537
WIP 2020-01-06 23:01:15 -05:00
Zach Daniel
de9a790626
WIP 2020-01-01 04:53:51 -05:00
Zach Daniel
5f2c134060
WIP 2020-01-01 04:51:56 -05:00
Zach Daniel
442d6f720e
WIP 2020-01-01 04:39:10 -05:00
Zach Daniel
e31718510b
WIP 2019-12-30 22:48:17 -05:00
Zach Daniel
b1a997ea55
WIP 2019-12-29 17:28:28 -05:00
Zach Daniel
cf40fe0222
WIP 2019-12-29 01:56:47 -05:00
Zach Daniel
56a1b3e658
WIP 2019-12-29 01:31:50 -05:00
Zach Daniel
08ef1a0eb1
WIP 2019-12-28 13:52:47 -05:00
Zach Daniel
4aee8095d4
WIP 2019-12-27 16:10:55 -05:00
Zach Daniel
6781f655c8
Fixing irrelevant clause detection 2019-12-27 01:39:20 -05:00
Zach Daniel
4d3688532f
WIP 2019-12-26 16:33:35 -05:00
Zach Daniel
694b7b362e
WIP 2019-12-26 03:42:35 -05:00
Zach Daniel
80545c416c
WIP 2019-12-24 02:53:56 -05:00
Zach Daniel
485b8479df
WIP 2019-12-24 01:42:09 -05:00
Zach Daniel
add170ccc3
fixing tests/errors 2019-12-24 01:29:01 -05:00
Zach Daniel
6702c8eb3a
finishing up action tests 2019-12-23 23:22:31 -05:00
Zach Daniel
06e372e029
WIP 2019-12-23 17:41:29 -05:00
Zach Daniel
d9353f9df9
fixing up docs changes 2019-12-23 16:33:41 -05:00
Zach Daniel
5dfe2a6a6c
WIP 2019-12-23 16:26:59 -05:00
Zach Daniel
41faa751c1
finish up relationship update tests 2019-12-23 15:51:01 -05:00
Zach Daniel
50941958e6
WIP, action tests 2019-12-23 13:17:22 -05:00
Zach Daniel
2c3c368a7e
WIP (removes sat solver) 2019-12-22 23:28:40 -05:00
Zach Daniel
e0cc81c2e7
finally starting to stablize a bit. Still need to finish pg datalayer and
authorization. Realized that `get` `update` and `destroy` logic isn't
going to be as easy as filter based logic. Still not sure how to
handle it really.
2019-12-22 04:06:33 -05:00
Zach Daniel
a93c1b60cb
WIP, making filters work, for the most part 2019-12-22 03:17:29 -05:00
Zach Daniel
4e2e013f96
adding some tests, working on relationship stateful changes 2019-12-20 00:30:27 -05:00
Zach Daniel
fc259c9012
WIP 2019-12-19 23:19:34 -05:00
Zach Daniel
2f85a1385f
wildin out man 2019-12-15 18:20:44 -06:00
Zach Daniel
201e068235
whirlwind 2019-12-12 01:19:22 -05:00
Zach Daniel
58a99fd2d6
WIP 2019-12-10 01:29:25 -05:00
Zach Daniel
d29afca057
WIP 2019-12-10 00:08:59 -05:00
Zach Daniel
82cd7c00b1
WIP 2019-12-09 14:28:09 -05:00
Zach Daniel
6ba4afa1d6
WIP 2019-12-09 02:07:23 -05:00
Zach Daniel
b776d06c2d
WIP 2019-12-09 01:44:07 -05:00
Zach Daniel
9f4254d640
WIP 2019-12-08 23:08:36 -05:00
Zach Daniel
b861568321
WIP 2019-12-08 23:05:56 -05:00
Zach Daniel
ee05955af8
WIP 2019-12-08 14:02:09 -05:00
Zach Daniel
a2e007697a
working on defaults, updating error messages 2019-12-08 01:21:09 -05:00
Zach Daniel
0cd0748ead
WIP 2019-12-07 16:33:31 -05:00
Zach Daniel
83d1761dd8
test the api dsl 2019-12-07 03:38:35 -05:00
Zach Daniel
eea6fc1003
WIP 2019-12-07 02:57:51 -05:00
Zach Daniel
4e527865e7
WIP 2019-12-07 02:42:14 -05:00
Zach Daniel
fa1ca7736b
WIP 2019-12-06 15:54:30 -05:00
Zach Daniel
e90023f75d
remove deafults in actions 2019-12-06 02:06:34 -05:00
Zach Daniel
05e84102dd
test and docs 2019-12-06 02:00:26 -05:00
Zach Daniel
2686fed263
WIP 2019-12-05 20:56:01 -05:00
Zach Daniel
415b784bad
Merge pull request #5 from ash-project/update-ets-doc
update docs for ETS
2019-12-05 19:55:42 -05:00
Andrew Callahan
45eef4675e respond to PR feedback 2019-12-05 19:45:26 -05:00
Andrew Callahan
eb33e050bc respond to PR feedback 2019-12-05 19:39:22 -05:00
Andrew Callahan
8a338bd044 respond to PR feedback 2019-12-05 19:37:53 -05:00
Andrew Callahan
9cad8ce51a respond to PR feedback 2019-12-05 19:16:46 -05:00
Andrew Callahan
f9111a5f5c simplify language 2019-12-05 17:52:11 -05:00
Andrew Callahan
3e53310cc7 respond to PR feedback 2019-12-05 17:35:59 -05:00
Andrew Callahan
f929384edc respond to PR feedback 2019-12-05 16:41:30 -05:00
Andrew Callahan
aa87646af6 update docs for ETS'
'
2019-12-05 16:22:12 -05:00
Andrew Callahan
bb48b7aa85 update ash resource doc 2019-12-05 15:53:20 -05:00
Zach Daniel
248a5d667d
WIP 2019-12-05 13:45:02 -05:00
Zach Daniel
1c5a7e228c
add ash types and test one of them 2019-12-05 11:50:30 -05:00
Zach Daniel
aec2128f6d
WIP 2019-12-05 02:24:20 -05:00
Zach Daniel
030c389225
WIP on cleanup/documentation 2019-12-05 02:18:13 -05:00
Zach Daniel
df70095e39
WIP 2019-12-04 18:04:07 -05:00
Zach Daniel
7a23dccdfa
WIP 2019-12-04 13:35:03 -05:00
Zach Daniel
b3d56031a0
WIP 2019-12-04 00:34:15 -05:00
Zach Daniel
b2feeac52d
WIP 2019-12-03 01:47:49 -05:00
Zach Daniel
5e12d96f73
WIP 2019-12-02 17:01:36 -05:00
Zach Daniel
9f525d15ae
WIP 2019-12-02 11:25:00 -05:00
Zach Daniel
af40b830fc
WIP 2019-12-01 23:04:16 -05:00
Zach Daniel
dd081977a0
WIP 2019-12-01 16:58:29 -05:00
Zach Daniel
9d51c80810
WIP 2019-11-29 15:29:35 -05:00
Zach Daniel
d9ed8e7bbc
WIP 2019-11-29 14:40:19 -05:00
Zach Daniel
242db09396
WIP 2019-11-29 11:36:01 -05:00
Zach Daniel
ad313c5ff3
WIP 2019-11-29 01:54:11 -05:00
Zach Daniel
4cabb8a838
add an ets data layer, and start on some testing 2019-11-28 00:24:29 -05:00
Zach Daniel
0c7b97a305
WIP 2019-11-27 16:36:25 -05:00
Zach Daniel
a5875df1fd
WIP 2019-11-26 17:35:28 -05:00
Zach Daniel
9de67150d9
WIP 2019-11-26 17:33:23 -05:00
Zach Daniel
45f61b669f
add authorized versions of read/get 2019-11-26 12:38:47 -05:00
Zach Daniel
ef2f828250
WIP 2019-11-26 01:50:53 -05:00
Zach Daniel
afdd294e7f
start on authorization 2019-11-25 18:23:59 -05:00
Zach Daniel
8682c4e83b
WIP 2019-11-25 12:08:38 -05:00
Zach Daniel
e57f3961ad
WIP 2019-11-24 19:01:21 -05:00
Zach Daniel
3c1ef49950
whew 2019-11-02 16:36:46 -04:00
Zach Daniel
c6710f9381
work on separation lines and relationships 2019-10-30 11:10:01 -04:00
Zach Daniel
5d7382f966
move data functions out to Ash.Data 2019-10-11 11:18:59 -07:00
Zach Daniel
d0362b65d7
move json_api out to ash_json_api 2019-10-11 11:06:09 -07:00
Zach Daniel
ef1faf8ce8
finish ash_ecto setup 2019-10-07 10:38:30 -04:00
Zach Daniel
397d79fa7e
move datalayer stuff out of ash 2019-10-06 16:36:06 -04:00
Zach Daniel
9cb52f55a7
adding includes support 2019-10-05 20:33:38 -04:00
Zach Daniel
d250271cd1
add relationship route for has one 2019-10-04 04:30:25 -04:00
Zach Daniel
39d6106a9c
draw the rest of the fucking owl 2019-10-03 22:33:55 -04:00
Zach Daniel
daa8b7ca84
remove example, add functionality 2019-10-03 15:07:57 -04:00
Zach Daniel
b693519ef7
add basic serialization 2019-10-03 03:40:37 -04:00
Zach Daniel
c190f4049b
updated the example, added the skeleton of "get" 2019-10-03 03:18:07 -04:00
Zach Daniel
91a4f814ab
move example code into examples 2019-10-03 02:11:34 -04:00
Zach Daniel
9a4c5217f1
WIP 2019-10-03 00:36:32 -04:00
Zach Daniel
4c41344126
init 2019-10-02 23:08:36 -04:00