Zach Daniel
d5f5bae117
test: add tests for include_nil?
on first
aggregates as well
2024-07-16 22:58:14 -04:00
Zach Daniel
7cf06f3956
fix: update ash_sql for include_nil? fix and test it
2024-07-16 22:40:15 -04:00
Zach Daniel
a121ba177f
chore: test changes & update dependency
2024-07-16 08:58:04 -04:00
Zach Daniel
cef4c8fce0
improvement: support new type determination code
2024-07-14 09:25:49 -04:00
Zach Daniel
ef58c78313
test: add more tests for atomic update interactions
...
chore: get build passing
2024-07-12 23:23:42 -04:00
Barnabas Jovanovics
3385bd21f1
improvement: add storage type option ( #342 )
...
---------
Co-authored-by: Zach Daniel <zach@zachdaniel.dev>
2024-07-08 09:54:50 -04:00
Zach Daniel
f0d07a3a4d
fix: ensure that from_many?
relationships in lateral join are limited
2024-07-06 06:38:31 -04:00
Barnabas Jovanovics
2a1bc993eb
test: update tests to show many_to_many filter problem ( #309 )
2024-06-18 09:03:24 -04:00
Zach Daniel
860d085386
fix: update ash_sql to fix query generation issues
2024-06-18 07:50:54 -04:00
Barnabas Jovanovics
14938f9f47
test: add test to show error with building a reference ( #330 )
2024-06-18 06:23:27 -04:00
Jesse Williams
9940edf633
test: demonstrating issue filtering relationship by parent ( #318 )
2024-06-05 13:12:32 -04:00
Zach Daniel
df250964e0
fix: ensure that all current attribute values are selected on bulk update shifted root query
...
closes #314
2024-06-02 12:35:57 -04:00
Zach Daniel
bc46d9d9c4
test: add test reproducing related aggregate reference
2024-05-30 00:27:20 -05:00
Zach Daniel
ff47ff0e06
fix: properly support aggregate references in atomic updates
...
(yes, you read that right)
2024-05-29 12:30:16 -04:00
Zach Daniel
8ad92cc3c0
improvement: update ash
and support new identity
features
2024-05-24 01:14:55 -04:00
Zach Daniel
264f4c0bac
fix: handle complex maps/list on update
...
fix: support anonymous aggregates in sorts
fix: ensure parent_as bindings properly reference binding names
closes #296
closes #297
closes #298
2024-05-22 17:47:10 -04:00
Riccardo Binetti
0313734db0
chore: failing test for calculation ordered paginated relationship ( #292 )
2024-05-20 10:06:49 -04:00
Riccardo Binetti
ad0b1a5c6c
chore: add relationship pagination tests ( #265 )
2024-05-16 17:28:43 -05:00
Dmitry Maganov
74cead8749
test: add failing test for changing_attributes
check for create ( #288 )
2024-05-16 08:39:47 -05:00
Barnabas Jovanovics
e597c39687
add test for rels in atomic updates ( #286 )
2024-05-15 09:50:36 -04:00
Barnabas Jovanovics
6d0cca1fae
test: show error with calc depending on other exists calc ( #280 )
2024-05-14 08:35:40 -04:00
Zach Daniel
d0c7984a89
test: add tests for action filters in bulk update/destroy
...
fix: ensure filter is included in stale record error message
2024-05-12 16:28:48 -04:00
Frank Dugan III
bc02a4d23c
feat: add timestamptz types ( #266 )
2024-05-05 06:08:21 -04:00
Zach Daniel
8eef44951c
test additional bulk action tests
2024-05-03 21:26:08 -04:00
Lukas Ender
f405225731
feat: test with calculations using exists
( #240 )
2024-05-03 12:31:42 -04:00
Zach Daniel
56f3a5eb2f
fix: fix calculate when exprs aren't dynamics
...
test: add test for datetimes
2024-05-02 21:29:21 -04:00
Riccardo Binetti
65f93561d8
chore: add failing test for bulk actions and non-null violations ( #260 )
...
- bulk_create returns a Postgrex error instead of Ash.Error.Changes.Required
like the non-bulk create does
- bulk_update with :stream strategy does the same
- bulk_update with :atomic strategy doesn't trim the empty string and writes it
to the database
2024-05-02 20:31:35 -04:00
Zach Daniel
a6c1dedffb
test: add tests for fix in ash_sql around actor refs in relationships
2024-05-01 08:27:49 -04:00
Zach Daniel
a2083ff736
fix: update ash_sql for inner join fixes
...
closes #252
chore: small test fixes
2024-04-26 23:51:29 -04:00
Zach Daniel
3c4a3d30a5
fix: handle missing aggregate relationships and fields better in transformers
...
fix: update ash_sql for bug fixes
2024-04-22 20:42:11 -04:00
Zach Daniel
ec91e2ee9b
fix: reproduce issue around atomic updates & validations
2024-04-22 18:58:57 -04:00
Zach Daniel
7f3661ce42
chore: support adapter
option to use AshPostgres.Repo
2024-04-21 11:11:00 -04:00
Zach Daniel
8f1ae86db9
test: add some explicit destroy/soft destroy tests
2024-04-21 09:35:47 -04:00
Zach Daniel
3ad3f5f5d6
chore: update ash, resources and an error message
2024-03-27 17:03:16 -04:00
Zach Daniel
37cc01957d
improvement!: 3.0 ( #227 )
...
* WIP
* chore: fix mix.lock merge issues
* improvement: upgrade to 3.0
* chore: remove `repo.to_tenant`
* chore: continue removal of unnecessary helper
* chore: use `Ash.ToTenant`
2024-03-27 16:52:28 -04:00
Zach Daniel
5a513a82c2
fix: handle fully fleshed out aggregate fields
2024-03-22 02:13:07 -04:00
Zach Daniel
43deb00e36
fix: properly handle multiple sorts in aggregate
2024-02-29 13:42:42 -05:00
Zach Daniel
f716e3bb69
fix: simplify(and fix) exists subquery generation
2024-02-28 22:55:53 -05:00
Zach Daniel
23dd650100
test: test improvements, regression test
2024-02-28 21:24:31 -05:00
Zach Daniel
f6d029d85b
improvement: add test for aggregates
2024-02-24 18:08:00 -05:00
Zach Daniel
37cb3825f1
fix: properly handle complex types in lists
2024-02-23 20:53:19 -05:00
Zach Daniel
3fd5a7a907
test: add some tests for atomics
2024-02-15 10:54:20 -05:00
Zach Daniel
7a4fe87561
chore: update ash, add tests
2024-02-14 13:56:58 -05:00
Zach Daniel
3146d5f97d
chore: update ash, add tests for field policies
2024-02-14 11:04:06 -05:00
Barnabas Jovanovics
be15759de0
test: add test to show problem with field policies in filters ( #206 )
2024-02-14 10:25:25 -05:00
Zach Daniel
6d0a29f45c
chore: credo
2024-02-12 10:24:59 -05:00
Zach Daniel
03b630396c
test: update tests to demonstrate streaming update
2024-02-10 18:31:34 -05:00
Barnabas Jovanovics
3f7bdb8fc1
test: add test for parent in relationship filter ( #203 )
2024-02-06 10:04:35 -05:00
Zach Daniel
6ceac063f8
chore: credo
2024-01-30 20:55:13 -05:00
Alan Heywood
745a3b8264
test: add failing test to demo bug with changeset loading related data ( #200 )
2024-01-30 20:04:42 -05:00