Commit graph

898 commits

Author SHA1 Message Date
Zach Daniel
bdfdc778e0 fix: move preparation init to runtime 2022-06-02 23:53:38 -04:00
Zach Daniel
571c138140 improvement: add identity_priority and use_identities option to manage_relationship 2022-06-02 02:08:36 -04:00
Zach Daniel
f8164f6745 improvement: support limit in simple data layer 2022-06-01 23:54:01 -04:00
Zach Daniel
393dd7326f fix: don't automatically url encode keyset values 2022-05-31 12:18:52 -04:00
Simon Bergström
71884dfa5f
fix: fixed bug wher embedded resources would always provide defaults, not allowing you to declare your own (primary?) actions (#339) 2022-05-31 11:58:56 -04:00
Zach Daniel
93424fd16a fix: keyset pagination counts all rows 2022-05-31 11:56:15 -04:00
Zach Daniel
6d0cbec244 fix: fetch items closest to cursor by reversing keyset sort 2022-05-31 11:17:14 -04:00
Zach Daniel
669c98b379 fix: keyset + before results must be reversed 2022-05-31 10:34:35 -04:00
Theo Harris
021d859990
docs: Fix code block that wrapped non-code text (#341) 2022-05-31 10:19:10 -04:00
Theo Harris
4aac381cb1
docs: Add clarifying language around the use of the Enum module (#340) 2022-05-31 10:18:42 -04:00
Zach Daniel
067228980e improvement: add key to InvalidKeyset error 2022-05-30 16:41:49 -04:00
Zach Daniel
7a0cfd3ab1 improvement: better error message on invalid keyset
closes #336
2022-05-30 16:32:17 -04:00
Zach Daniel
cc82a1a0cb chore: WIP on documentation push 2022-05-30 15:57:56 -04:00
Zach Daniel
225d4289f6 chore: format 2022-05-28 21:21:36 -04:00
Simon Bergström
4273a5d23a
improvement: added options to the built-in function relate_actor/1 (#332) 2022-05-28 21:21:14 -04:00
Zach Daniel
02b1194062 chore: fix tests/transformers 2022-05-28 11:22:43 -04:00
Zach Daniel
8b10b892ef improvement: add :_pkey shortcut in pub_sub
improvement: validate `pre_check_with` is set for ets/mnesia identities
improvement: clearer and raised error message on changeset action mismatch
2022-05-28 11:12:08 -04:00
Zach Daniel
915209da8f improvement: accept atoms when casting strings 2022-05-25 17:49:48 -04:00
Zach Daniel
3f85d019de chore: some options helper improvements/docs 2022-05-25 12:23:16 -04:00
Zach Daniel
129c3d33e9 fix: rename interval to duration_name 2022-05-23 16:20:02 -04:00
Theo Harris
9b5c713bcd
docs: Spelling fixes, add :upsert_identity example (#327)
* Minor spelling fixes, :upsert_identity example

* Grammatical tweaks in API docs

* Adjust phrasing, consistent formatting
2022-05-20 10:25:23 -04:00
Zach Daniel
ddde776fd0 improvement: specify that upserts could be related at creation 2022-05-20 09:55:17 -04:00
Darren Black
430e6676bd
fix: Fix concat (#326) 2022-05-19 10:24:53 -04:00
Darren Black
35a19f800d
fix: Make get and get! consistent with what they raise when no record found (#325) 2022-05-18 21:37:04 -04:00
Zach Daniel
574e06b583 fix: add resource/action to policy error context 2022-05-18 15:20:05 -04:00
Zach Daniel
44a72226da fix: don't ignore lazy load option 2022-05-18 13:11:30 -04:00
Zach Daniel
64e9ecb0bc fix: return {:ok, nil} on nil cast for strings 2022-05-17 20:00:55 -04:00
Zach Daniel
d3cb202a12 chore: add ash_phoenix to sub-project tests
docs: add `Ash.Policy.Authorizer` to doc index
2022-05-17 16:34:14 -04:00
Zach Daniel
b3e0632792 improvement: move ash_policy_authorizer into core as Ash.Policy.Authorizer 2022-05-17 15:56:40 -04:00
Zach Daniel
0ec5a6d7b0 fix: run after_action in create properly 2022-05-17 12:28:15 -04:00
Zach Daniel
5e270288e6 fix: require calculations specified on resource load 2022-05-17 11:54:02 -04:00
Zach Daniel
f152b4ad36 fix: ensure that the default accept is used 2022-05-12 18:51:05 -04:00
Zach Daniel
5a674c1409 fix: distinct before limit and offset 2022-05-10 16:30:36 -04:00
Zach Daniel
f38b9b8859 improvement: work on module dependencies 2022-05-10 11:33:24 -04:00
Zach Daniel
734f2e0ac6 fix: add distinct in data_layer_query 2022-05-10 10:17:50 -04:00
Zach Daniel
7af5c3c59e chore: take distinct out where necessary 2022-05-10 10:17:02 -04:00
Zach Daniel
c71587642d chore: QoL improvements 2022-05-09 17:48:50 -04:00
Zach Daniel
92609b33ea fix: merge calculations when merging loads
closes #309
2022-05-09 17:47:17 -04:00
Zach Daniel
a39ebd5646 improvement: use new no_depend_modules everywhere 2022-05-08 23:58:06 -04:00
Zach Daniel
d29cc54725 fix: add no_depend_modules for changes/validations 2022-05-08 23:38:01 -04:00
Zach Daniel
904968b936 improvement: add no_fields? relationships 2022-05-03 18:56:37 -04:00
Zach Daniel
98a7ac06b8 fix: match on :unknown not {:ok, :unknown} 2022-04-28 20:19:23 -04:00
Zach Daniel
6e4ecc62e3 fix: run calc in data layer if it returns :unknown 2022-04-28 20:12:54 -04:00
Zach Daniel
74cc7c4ad5 fix: don't ignore lexical tracker on modules in DSL
improvement: add manual read actions
fix: don't treat single actions of a type as primary
2022-04-28 18:08:00 -04:00
Zach Daniel
f6ea11c10f fix: go back to old method of checking for resource 2022-04-27 09:49:18 -04:00
Zach Daniel
e502f51470 fix: properly load from load statement in calculations 2022-04-26 22:57:07 -04:00
Zach Daniel
989cb5d22e improvement: calculation values from requests 2022-04-26 13:02:46 -04:00
Zach Daniel
d3da724422 fix: send notifications in all cases
improvement: small optimizations
2022-04-26 00:16:28 -04:00
Zach Daniel
7a1e32908a improvement: more flow features/fixes, debug step 2022-04-25 17:01:23 -04:00
Zach Daniel
d16432750f fix: use unpaginated read when loading 2022-04-20 19:43:41 -04:00