Zach Daniel
66295c4efb
improvement: derive source_attribute_on_join_resource
for many to many
2024-01-23 23:43:02 -05:00
Zach Daniel
13bff0a9cd
fix: don't attempt to derive destination_attribute_on_join_resource
2024-01-23 23:38:52 -05:00
Zach Daniel
1f96993e1b
chore: fix typo accessing action
2024-01-23 23:22:39 -05:00
Zach Daniel
fe3215cc07
improvement: atomic implementation for relate_actor
...
improvement: include a message along with the non-atomic signifier
2024-01-23 22:41:15 -05:00
Zach Daniel
3e87e6220f
improvement: support transactions on bulk destroys
2024-01-23 22:10:14 -05:00
Zach Daniel
bf81f8c8a5
chore: format
2024-01-23 21:48:38 -05:00
Zach Daniel
1807523ba2
improvement: support transactions in bulk updates
2024-01-23 21:36:17 -05:00
Zach Daniel
878011bd3e
improvement: count_nils/1
function
...
improvement: `present/absent` atomic implementation
improvement: add `atomic_ref/1` template helper
2024-01-23 19:13:14 -05:00
Jinkyou Son
2368fe82b6
improvement: Change typespec of tenant from String.t() to term() ( #845 )
2024-01-23 13:16:04 -05:00
Dmitry Maganov
91c34c3939
fix: join_relationship
in many to many can make through
optional ( #846 )
2024-01-23 13:15:51 -05:00
Barnabas Jovanovics
c60c5111ae
fix: make sure query has action ( #844 )
2024-01-23 10:42:34 -05:00
Barnabas Jovanovics
f25d7edc2f
fix: pass in actor to api.can call ( #843 )
...
* fix: pass in actor to api.can call
* only call api.can if authorize? is true
2024-01-23 09:22:19 -05:00
Nduati Kuria
d229ade9fc
Add :decimal
aggregate support to DataLayer.Ets
[WIP] ( #841 )
...
* Add `:decimal` aggregate support to `DataLayer.Ets`
* Add regression test
* Fix dialyzer
* Handle nils in `:avg` calculation
* Refactor nested ifs
* Refactor test
2024-01-22 16:03:34 -05:00
Barnabas Jovanovics
4ffd3cfa11
fix: do not check primary key fields in filter ( #839 )
2024-01-22 11:31:20 -05:00
Barnabas Jovanovics
20880691fb
fix: add page opts to context again ( #838 )
2024-01-22 11:29:13 -05:00
Zach Daniel
7b40917516
fix: return errors with query from read action
...
closes #837
2024-01-21 13:55:01 -05:00
Zach Daniel
ecf4893b64
fix: properly set defaults on upsert in mnesia
2024-01-21 12:06:16 -05:00
Zach Daniel
45be2a34eb
chore: format
2024-01-21 01:27:08 -05:00
Zach Daniel
ce4c3cb2c1
fix: don't load through attributes twice, but also don't miss any
2024-01-21 01:26:22 -05:00
Zach Daniel
d013818c0a
improvement: handle pkey-less resources when attaching fields
...
improvement: set lazy defaults when applying changeset attributes
2024-01-21 00:45:35 -05:00
Zach Daniel
a08582ed0f
chore: remove IO.inspect
2024-01-20 21:50:14 -05:00
Zach Daniel
5af5702efb
improvement: add prepend?: true
option to add_change
2024-01-20 21:48:57 -05:00
Zach Daniel
fc522ff6c5
fix: handle errors properly from invalid loads
2024-01-20 19:39:35 -05:00
Zach Daniel
892cd7c845
fix: handle data layer calculations for missing records
2024-01-20 18:52:36 -05:00
Zach Daniel
7aaea7bd55
fix: only load through calculations in the correct order
2024-01-20 13:53:35 -05:00
Zach Daniel
aa227b8a6a
chore: format
2024-01-19 21:17:22 -05:00
Zach Daniel
e646be5393
fix: properly detect cyclic dependencies in calculation runner
...
fix: properly annotate in-query calculations as complete for dependency calculation
2024-01-19 21:10:48 -05:00
Zach Daniel
e49f42a195
fix: fix present?
and load_through
bugs
2024-01-19 17:26:13 -05:00
Zach Daniel
21de0fe882
chore: fix typo
2024-01-19 16:27:36 -05:00
Zach Daniel
b654c0cd5c
chore: remove IO.inspect
2024-01-19 16:26:51 -05:00
Zach Daniel
70918d42c5
chore: remove unused variables/aliases
2024-01-19 15:51:18 -05:00
Zach Daniel
1140771f74
fix: don't require pagination in incorrect cases
2024-01-19 15:50:35 -05:00
Zach Daniel
944f90eeb4
chore: update benchmark, benchmark shows a bit faster now
2024-01-19 10:50:10 -05:00
Zach Daniel
e5d78ae074
fix: get tests passing for bulk creates again
2024-01-19 10:49:26 -05:00
Zach Daniel
23107d061c
chore: move modules to bottom in docs
2024-01-19 10:02:15 -05:00
Zach Daniel
3db822d775
improvement: optimize embedded resource creation
2024-01-19 09:58:54 -05:00
Zach Daniel
c48cb08026
improvement: rewrite read actions to not use Ash.Engine
( #836 )
2024-01-19 00:05:42 -05:00
Zach Daniel
20ceee7a92
chore: release version v2.18.2
2024-01-18 09:20:55 -05:00
Zach Daniel
fc583b1d1e
docs: remove old docs
2024-01-18 09:20:16 -05:00
Zach Daniel
4c96fdd40f
fix: don't ignore stream batch size
2024-01-13 21:48:11 -05:00
Zach Daniel
fbe63d673a
chore: release version v2.18.1
2024-01-12 14:19:15 -05:00
Zach Daniel
6f56f3c4db
chore: use ash_query as base count aggregate query
2024-01-12 14:18:01 -05:00
Zach Daniel
4200b5df50
chore: fix dialyzer/credo
2024-01-12 14:14:08 -05:00
Zach Daniel
072486bebd
docs: revamp hexdocs
...
fix: use current read action for counting
2024-01-12 14:07:35 -05:00
Zach Daniel
6c5cd551ff
docs: organize the sidebar properly
2024-01-12 09:23:03 -05:00
Zach Daniel
d8c5b91090
chore: update spark.formatter
2024-01-12 09:00:46 -05:00
Zach Daniel
ac74a48a5b
chore: update DSL docs
2024-01-12 08:41:22 -05:00
Zach Daniel
0ca7393417
chore: undo typo
2024-01-12 08:40:34 -05:00
Zach Daniel
ff65ef4951
chore: release version v2.18.0
2024-01-12 08:37:01 -05:00
Zach Daniel
76cfe55a2a
improvement: add all_tenants?
option to identities
2024-01-12 08:36:06 -05:00