Zach Daniel
1e286106e6
fix: properly traverse newtypes when determining types
...
closes #1406
2024-08-25 17:41:36 -04:00
Zach Daniel
97ef1437cc
chore: CI/test/build fixes
2024-08-15 07:25:48 -04:00
Zach Daniel
10cf60cdc1
fix: remove Agent
"convenience" for determining min pg version
...
We need to require that users provide this function. To that end we're
adding a warning in a minor release branch telling users to define this.
The agent was acting as a bottleneck that all queries must go through,
causing nontrivial performance issues at scale.
2024-08-13 09:58:25 -04:00
Jonatan Männchen
a539f6443e
fix: handle filter condition on create ( #368 )
2024-08-12 14:48:45 -04:00
Zach Daniel
769f8bfccf
fix: update ash_sql for exists aggregate fixes
2024-08-09 16:09:49 -04:00
Zach Daniel
cc7a761512
chore: make test assertion clearer to debug CI
2024-08-08 10:01:33 -04:00
Jonatan Männchen
2d1c7d48ce
chore: Cleanup Test Output ( #366 )
2024-08-07 10:38:00 -04:00
Zach Daniel
cba3966569
improvement: update ash_sql for latest fixes
...
test: add test for exists w/ from_many? relationship
2024-07-30 17:15:39 -04:00
Robert Timis
793d27ddd1
test: replicate type mismatch bug ( #364 )
2024-07-27 14:27:02 -04:00
Barnabas Jovanovics
306dc84ac2
test validation aggregates individually as well ( #360 )
...
* test aggregates individually as well
* test with atomic and non atomic actions
* test atomic and non atomic actions
* use message in context
2024-07-23 06:55:44 -04:00
Barnabas Jovanovics
9e4efa7b9b
remove Logger config and enable aggregates in validation again
2024-07-23 10:00:52 +02:00
Barnabas Jovanovics
0a6f890907
add update case to validation test
2024-07-23 09:39:18 +02:00
Zach Daniel
1b687b6c2a
fix: properly convert tenant to string when building lateral join
2024-07-22 15:38:42 -04:00
Zach Daniel
b00a7e6482
fix: update ash & ash_sql for fixes, test atomic alidations in destroys
2024-07-22 11:49:59 -04:00
Barnabas Jovanovics
a672c89697
test: test more aggregates ( #359 )
2024-07-22 11:25:00 -04:00
Barnabas Jovanovics
ece56c2bc9
test: add test for list aggregate in atomic validation ( #358 )
2024-07-22 10:29:00 -04:00
Zach Daniel
c63c988339
improvement: pluralize table name in extender
...
chore: get build passing & clean up code
closes #354
2024-07-18 12:53:38 -04:00
Zach Daniel
10983856b1
chore: update tests/migrations
2024-07-17 11:40:17 -04:00
Robert Timis
64740bac18
test: replicate error when using calculation over nested relationship ( #351 )
2024-07-17 08:09:45 -04:00
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
2393c2c633
chore: update tests to account for non-keepable-atom-keys
2024-07-16 18:22:23 -04:00
Robert Timis
1e637f9205
test: replicate error when building json object and using inline aggregate ( #350 )
2024-07-16 15:39:04 -04:00
Zach Daniel
a121ba177f
chore: test changes & update dependency
2024-07-16 08:58:04 -04:00
Zach Daniel
ab97b2947b
improvement: add binding()
expression
2024-07-15 10:25:39 -04:00
Zach Daniel
5a9812f016
fix: ensure synthesized query aggregates have context set
2024-07-15 09:20:39 -04:00
Zach Daniel
cef4c8fce0
improvement: support new type determination code
2024-07-14 09:25:49 -04:00
Robert Timis
27f63d8d8e
error reproduction test ( #349 )
2024-07-13 16:06:52 -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
Alessio Montagnani
72b029be21
improvement: add support for :uuid_v7
type ( #333 )
2024-07-09 19:57:38 -04:00
Zach Daniel
24576c168c
fix: ensure that we return {:ok, zipper}
from find_and_update_or_create_module
...
closes #345
2024-07-09 07:54:50 -04:00
Zach Daniel
d293d0f302
improvement: use Ash.Igniter.codegen
2024-07-08 15:56:58 -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
Zach Daniel
ffd3ff5a81
test: rollback change for uuid -> string type in tests
2024-07-02 13:01:54 -04:00
Zach Daniel
185e9bea83
test: adjustments for tests
2024-07-02 12:30:25 -04:00
Zach Daniel
e42665b14c
chore: update to latest igniter
2024-07-01 21:34:47 -04:00
Zach Daniel
e520ddfc35
chore: get build passing
...
fix: properly delete args passed from migrate to ecto
2024-06-24 10:20:16 -04:00
Zach Daniel
6b1f6bae2a
improvement: add mix ash_postgres.install
(mix igniter.install ash_postgres)
2024-06-21 19:49:47 -04:00
Emad Shaaban
8bf1e2ede9
fix: ensure index keys are atoms in generated migrations ( #332 )
...
---------
Co-authored-by: Zach Daniel <zach@zachdaniel.dev>
2024-06-19 14:22:21 -04:00
Zach Daniel
526020e26c
improvement: better type handling using new type inference
2024-06-18 16:37:32 -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
Zach Daniel
97e538bf63
improvement: identities w/ calculations and where clauses in upserts
2024-06-17 11:39:26 -04:00
Zach Daniel
9cc942f233
chore: credo
2024-06-13 09:53:40 -04:00
Zach Daniel
c753a37cfe
fix: fix invalid select on sorting by some calculations
2024-06-13 09:41:13 -04:00
Jefferson Queiroz Venerando
27837d1e30
test: Add a failing test for sorting on relationship ( #324 )
...
* add a failing test for sorting on relationship
* fix relationship pattern match
* fix title sort
2024-06-13 08:28:27 -04:00
Zach Daniel
b9e2fe45f4
test: add @moduletag :migration
to squash snapshots test
2024-06-11 12:08:10 -04:00
Zach Daniel
8e32e0ab9a
fix: ensure that context multitenancy is properly applied to lateral many-to-many joins
2024-06-10 12:49:04 -04:00