Commit graph

2599 commits

Author SHA1 Message Date
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
6ba7a03f62 chore: add postgres input 2023-01-31 22:49:08 -05:00
Zach Daniel
a5bab2124f ci: add postgres to shared ci 2023-01-31 22:46:40 -05:00
Zach Daniel
498260175e ci: depend on spark-formatter check 2023-01-31 22:19:28 -05:00
Zach Daniel
427f024b5d chore: run spark formatter conditionally 2023-01-31 22:17:14 -05:00
Zach Daniel
6c14d53562 ci: use new task step for spark.formatter 2023-01-31 22:15:44 -05:00
Zach Daniel
ccf4f1d034 ci: typo 2023-01-31 21:11:04 -05:00
Zach Daniel
4430f7b29c ci: split up main CI and generic one 2023-01-31 21:09:47 -05:00
Zach Daniel
da2f08dece ci: check spark formatter in test 2023-01-31 21:06:45 -05:00
Zach Daniel
27c55e06c7 ci: add spark-formatter step 2023-01-31 21:06:07 -05:00
Zach Daniel
4d22aed4fa ci: don't build GH pages 2023-01-31 20:21:34 -05:00
Zach Daniel
d89ec9359d chore: update CI to dialyze in dev 2023-01-31 19:00:22 -05:00
Zach Daniel
0d604f3574 chore: upgrade erlang/elixir trying to fix dialyzer issue 2023-01-31 14:59:38 -05:00
Zach Daniel
0d4d6fb00f chore: try upgrading elix 2023-01-31 14:59:11 -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
1f9ffdcf36 ci: fix subject test step names 2023-01-31 12:09:40 -05:00
Zach Daniel
437573a6b4 chore: fix test subprojects task 2023-01-31 11:43:22 -05:00
Zach Daniel
59f7f20889 ci: remove unnecessary step 2023-01-31 11:42:31 -05:00
Zach Daniel
af48fb1e00 ci: make sure ci dependencies are available in test 2023-01-31 11:39:34 -05:00
Zach Daniel
dd00b3267d ci: fix properly set subproject/name 2023-01-31 11:34:42 -05:00
Zach Daniel
51cb37ee2a ci: commit tool versions file since that is what CI uses 2023-01-31 11:25:00 -05:00
Zach Daniel
6ba00fc340 ci: give workflows proper names 2023-01-31 11:22:49 -05:00
Zach Daniel
9368a880e7 ci: remove doctor from build-dev deps 2023-01-31 11:22:05 -05:00
Zach Daniel
4affbd9ca7 ci: work on CI bugs 2023-01-31 11:21:04 -05:00
Zach Daniel
e900d00de8 ci: remove tweets/switch to standardized CI pipeline 2023-01-31 11:15:09 -05:00
Zach Daniel
9618234abb chore: release version v2.5.15 2023-01-30 21:50:07 -05:00
Zach Daniel
d101c05918 fix: set proper query aggregate when fetching aggregate values 2023-01-30 21:31:16 -05:00
Zach Daniel
c2dfaf75f2 chore: release version v2.5.14 2023-01-30 17:47:58 -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
227344631f chore: release version v2.5.13 2023-01-30 13:35:19 -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
fae96036dd chore: release version v2.5.12 2023-01-29 18:24:23 -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
Zach Daniel
72843dbf89 chore: release version v2.5.11 2023-01-28 09:14:22 -05:00
Zach Daniel
7dfcd2d3dd improvement: support {:ignore, changeset} from error handlers
improvement: add read action metadata
2023-01-28 09:02:21 -05:00
Zach Daniel
306ecd01e4 chore: update to latest spark 2023-01-27 15:50:47 -05:00
Zach Daniel
338cb3a84e chore: release version v2.5.10 2023-01-27 15:42:42 -05:00
Zach Daniel
167dba67ca improvement: upgrade to latest spark for compile time improvements
improvement: improve compile times by reorienting some compile deps
2023-01-27 15:32:28 -05:00
Zach Daniel
2787b5074b improvement: add relationships to underlying ecto schemas for better escape hatches 2023-01-27 11:20:08 -05:00
Zach Daniel
bfc592adab docs: add Ash.Resource.Attribute.Helpers to docs 2023-01-26 22:18:14 -05:00
Zach Daniel
eeeab08d32 improvement: reselect explicitly selected queries on reload 2023-01-26 22:13:11 -05:00
Zach Daniel
7ea8c38095 docs: add config to getting started guide, fix dsl links 2023-01-25 10:16:32 -05:00
Rebecca Le
d731933a9d
docs: Fix minor typos in guide headings (#488) 2023-01-23 22:40:28 -05:00