Zach Daniel
1e76e74f4f
fix: properly handle optional args in code interface
2023-02-14 23:08:51 -05:00
Zach Daniel
83d0e05bdc
fix: handle cases where union type is already atom
2023-02-14 16:26:31 -05:00
Zach Daniel
f53ca78f5c
fix: various union fixes
2023-02-14 13:34:35 -05:00
Zach Daniel
b7c720fb3f
fix: make depend_on_resources
more reliable
2023-02-14 12:30:27 -05:00
Zach Daniel
2342126a2d
chore: fix dialyzer for union types
2023-02-13 23:57:36 -05:00
Zach Daniel
46b509def4
docs: add moduledocs
2023-02-13 23:50:56 -05:00
Zach Daniel
0c767d0fa1
chore: allow page: []
in new pagination error
2023-02-13 23:44:58 -05:00
Zach Daniel
9924cfc7c0
chore: fix page detection error
2023-02-13 23:38:02 -05:00
Zach Daniel
b911d3a334
chore: just check if page
is set to non nil/false value
2023-02-13 23:32:15 -05:00
Kevin Mathew
0e6763d8cc
improvement: Add error message when page is added but pagination is not enabled ( #511 )
2023-02-13 23:20:40 -05:00
Zach Daniel
0de50e132b
improvement: add union type and some tests around it
2023-02-13 22:59:39 -05:00
Zach Daniel
c770e28aa2
improvement: add union short name
2023-02-13 20:40:10 -05:00
Zach Daniel
cbde118903
improvement: add union type
2023-02-13 20:39:45 -05:00
Zach Daniel
d18448f78a
improvement: better operator type casting and expression fixes
2023-02-12 19:14:06 -05:00
Zach Daniel
2c8b07fd0b
docs: add load/3
to calculation docs
2023-02-12 10:52:27 -05:00
Zach Daniel
27e91c4fa4
fix: use load/3
for builtin concat calc
2023-02-12 10:38:13 -05:00
Zach Daniel
f1d61a601b
fix: fix non-optional pagination
2023-02-11 19:33:54 -05:00
Zach Daniel
ef26b122c8
docs: fix unnecessary section in the getting started guide
...
improvement: add warning on usage of transaction hooks when in a surrounding transaction
2023-02-11 16:57:52 -05:00
Zach Daniel
85a66b1d85
improvement: add before_transaction and after_transaction
2023-02-10 14:12:19 -05:00
Zach Daniel
8ad1778763
fix: pagination behavior is incorrect
2023-02-09 21:21:58 -05:00
Zach Daniel
d72e00fc9c
chore: remove bad deprecation warning
...
fix: `nil` as page_opts is acceptable
2023-02-09 17:50:06 -05:00
Zach Daniel
732728236e
fix: fix aggregate.uniq?
2023-02-09 16:04:13 -05:00
Zach Daniel
e4004de15e
improvement: support uniq? for count
/list
attributes
2023-02-09 15:42:43 -05:00
zimt28
91c9b2219f
fix: Type error: Suggest custom short type names as well ( #508 )
2023-02-09 09:21:52 -05:00
Zach Daniel
b425b243f5
improvement: update spark for latest doc improvements
2023-02-05 18:08:01 -05:00
Zach Daniel
ae46b27f04
fix: handle {:ref, ...}
tuple in static syntax
2023-02-05 17:16:59 -05:00
Zach Daniel
2dd54324af
chore: sobelow
2023-02-04 01:54:42 -05:00
Zach Daniel
0eca30fb32
chore: more Api.aggregate fixes
2023-02-04 01:53:33 -05:00
Zach Daniel
4f4bd4a436
fix: various fast follows to api aggregate functions
2023-02-04 01:24:58 -05:00
Zach Daniel
8835924901
fix: pattern match problem in aggregate action
2023-02-04 00:55:10 -05:00
Zach Daniel
30eaf1c6e8
feat: initial (and slightly experimental) Api.aggregate support
2023-02-04 00:47:15 -05:00
Zach Daniel
a043e26116
fix: properly handle nested array type constraint validation
2023-02-03 10:32:05 -05:00
Zach Daniel
33bb4a2861
fixs: don't persist calculations in the db
2023-02-02 11:35:47 -05:00
Zach Daniel
54f3a47326
improvement: better description of action_type
check
2023-02-01 11:37:37 -05:00
Zach Daniel
850b543cc9
improvement: add more builders
...
improvement: stop running preparations if one of them returns an error
2023-02-01 02:02:10 -05:00
Zach Daniel
d51d26a472
chore: fix dsl builder typespecs
2023-02-01 00:30:09 -05:00
Zach Daniel
7bbd5a2162
fix: load lazily after action when results are set
...
When using `Ash.Query.set_result/2` to preempt the data layer action,
we can end up in a position where the action has decided that some number
of aggregates & calculations would be attached to the query. But its
extremely unlikely that the data set with `set_result/2` would actually
have handled loading/calculating things from the query, so we lazily load
it after we get the data if that happens.
2023-01-31 23:43:45 -05:00
Rebecca Le
e8563a03eb
docs: Render api_short_name
visibly in the Monitoring guide ( #500 )
2023-01-31 23:20:51 -05:00
Zach Daniel
bd46571762
docs: remove old documented limitation
2023-01-31 14:42:51 -05:00
Zach Daniel
820d445631
fix: fix typespec for Ash.set_tenant/1
2023-01-31 12:12:04 -05:00
Zach Daniel
e900d00de8
ci: remove tweets/switch to standardized CI pipeline
2023-01-31 11:15:09 -05:00
Zach Daniel
d101c05918
fix: set proper query aggregate when fetching aggregate values
2023-01-30 21:31:16 -05:00
Zach Daniel
ce6b44525f
improvement: registry resource validations transformers -> verifiers
...
improvement: better error message on unknown relationship
2023-01-30 16:10:15 -05:00
Zach Daniel
9f057c057d
fix: use destination query for aggregates, join auth to come later
2023-01-30 13:26:50 -05:00
Zach Daniel
c9d63d2936
fix: check changeset.valid?
properly on destroys
2023-01-30 13:23:35 -05:00
Zach Daniel
dbb9dd4c98
fix: properly halt on action errors in before_action
hooks
2023-01-30 11:52:35 -05:00
Zach Daniel
28b7def5c9
improvement: no async loads except when loading on initial data
2023-01-30 00:06:34 -05:00
Zach Daniel
d7841a90db
improvement: support length constraints on array embeds
2023-01-29 20:46:56 -05:00
Zach Daniel
20a2ed8c1f
improvement: simplify aggregate loading, fix bug with auth query resource
2023-01-29 18:12:05 -05:00
Rebecca Le
2dfff4476a
docs: Policy tweaks ( #490 )
2023-01-28 13:12:23 -05:00