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 |
|
Zach Daniel
|
5006a195bd
|
test: add test reproducing ash core fix for expression calculations
|
2024-01-30 16:39:17 -05:00 |
|
Zach Daniel
|
82dd14b953
|
chore: credo
|
2024-01-30 15:32:50 -05:00 |
|
Barnabas Jovanovics
|
fbd41407c3
|
test: add test that shows subquery error (#199)
|
2024-01-30 13:17:40 -05:00 |
|
Alan Heywood
|
aad5f9a182
|
test: add failing test to demonstrate bug with manual updates (#198)
|
2024-01-30 09:26:39 -05:00 |
|
Zach Daniel
|
4930a69b95
|
improvement: support count_nils expression
|
2024-01-29 17:17:32 -05:00 |
|
Zach Daniel
|
f20a07f54b
|
improvement: support latest ash changes
|
2024-01-19 00:12:50 -05:00 |
|
Zach Daniel
|
f3ccb78f86
|
improvement: support join_filters on aggregates
fix: subquery relationships that have filters
|
2024-01-11 22:30:35 -05:00 |
|
Zach Daniel
|
9b5acd98f7
|
chore: credo, dialyzer, format
|
2024-01-10 08:34:23 -05:00 |
|
Eduardo B. Alexandre
|
d5d312de56
|
feat: Add unit test to check lateral joins
with custom schemas and tables
|
2024-01-10 08:19:10 -05:00 |
|
Zach Daniel
|
76e23b186f
|
test: add some tests for aggregate refs in calcs
|
2024-01-10 07:22:25 -05:00 |
|
Zach Daniel
|
89a4363c1f
|
improvement: support directly referencing aggregates from aggregates
|
2023-12-23 10:39:54 -05:00 |
|
Zach Daniel
|
68e2f74fe0
|
improvement: support aggregates using other aggregates
fix: various fixes for unnecessary aggregate additions
test: added a test to confirm context based multitenancy behavior
|
2023-12-22 21:14:40 -05:00 |
|
Zach Daniel
|
61d229c685
|
fix: use lateral joins when joining to subquery w/ parent reference
|
2023-12-19 18:15:00 -05:00 |
|
Barnabas Jovanovics
|
c916034931
|
fix: replace upsert field with source in EXCLUDED fragment (#187)
|
2023-12-19 15:05:05 +01:00 |
|
Zach Daniel
|
07499b6ec0
|
fix: use maps for composite_type instead of tuples
|
2023-11-29 10:27:10 -05:00 |
|
Zach Daniel
|
74ef0aa6c3
|
improvement: support composite_type/2 expression
|
2023-11-29 09:57:10 -05:00 |
|
Zach Daniel
|
592e79a2f9
|
improvement: support composite types
|
2023-11-27 17:47:54 -05:00 |
|
Zach Daniel
|
c53f1733be
|
chore: format
|
2023-11-22 14:29:47 -05:00 |
|
Barnabas Jovanovics
|
179cee4b24
|
chore: add test (#184)
|
2023-11-22 13:37:54 -05:00 |
|
Daniel Newman
|
8caad3bf7d
|
Adjust tests for updates from upstream
|
2023-11-21 09:25:24 -05:00 |
|
Daniel Newman
|
4278f31736
|
Implement test and resources to show reference bug
|
2023-11-20 06:40:22 -05:00 |
|
Daniel Newman
|
06510b2770
|
Error using calc to agg to calc to agg
|
2023-11-16 20:47:25 -05:00 |
|
Zach Daniel
|
ef96cd541e
|
fix: use synonymous_relationship_path when looking up ref bindings
|
2023-11-16 11:02:24 -05:00 |
|
Alan Heywood
|
af8d8dbcac
|
test: add failing test to demo an issue with has_one calculations
|
2023-11-16 11:02:02 -05:00 |
|
Zach Daniel
|
52302046e1
|
fix: properly join to related references in relationship filters
|
2023-10-24 12:25:23 -04:00 |
|
Zach Daniel
|
270d8685e7
|
improvement: support to-one references in calculations
|
2023-10-09 18:57:06 -04:00 |
|
Zach Daniel
|
b35f8c715b
|
improvement: add AshPostgres.Tsquery
|
2023-09-20 16:41:32 -04:00 |
|
James Harton
|
6cc88c82b4
|
improvement: Allow resources to opt out of the primary key requirement. (#166)
|
2023-09-06 01:18:57 -04:00 |
|
Zach Daniel
|
33eb4f9fb7
|
improvement: better error message for missing table config
|
2023-09-04 11:25:03 -04:00 |
|
Zach Daniel
|
eabb745fc3
|
chore: update tests for latest ash atomics support
|
2023-08-31 11:47:15 -04:00 |
|
Zach Daniel
|
5a4a52854b
|
improvement: support atomics (#165)
|
2023-08-28 16:18:56 -04:00 |
|
Zach Daniel
|
cbde3958f3
|
fix: properly handle ensure nsted calls to get_path are jsonb
|
2023-08-23 12:54:25 -04:00 |
|
Zach Daniel
|
99b2a5631c
|
improvement: support in-line aggregates
fix: support non-atom named aggregates
|
2023-08-22 14:51:31 -04:00 |
|
Zach Daniel
|
c8aa2a8dd8
|
improvement: add value_to_postgres_default/3 and AshPostgres.Type
|
2023-08-18 11:22:01 -04:00 |
|
Alan Heywood
|
bac2e01b54
|
test: add failing test to demonstrate potential bug (#164)
1) test complex calculation (AshPostgres.Test.ComplexCalculationsTest)
test/complex_calculations_test.exs:5
** (RuntimeError) Error while building reference: latest_documentation_status
code: |> AshPostgres.Test.ComplexCalculations.Api.load!([
stacktrace:
(ash_postgres 1.3.41) lib/expr.ex:846: AshPostgres.Expr.do_dynamic_expr/5
(ash_postgres 1.3.41) lib/expr.ex:109: AshPostgres.Expr.do_dynamic_expr/5
(ash_postgres 1.3.41) lib/expr.ex:356: AshPostgres.Expr.do_dynamic_expr/5
(ash_postgres 1.3.41) lib/expr.ex:968: anonymous fn/6 in AshPostgres.Expr.do_dynamic_expr/5
(ecto 3.10.3) lib/ecto/query/builder/dynamic.ex:76: Ecto.Query.Builder.Dynamic.expand/3
(stdlib 5.0.2) lists.erl:1706: :lists.mapfoldl_1/3
(elixir 1.15.4) lib/macro.ex:653: Macro.do_traverse/4
(stdlib 5.0.2) lists.erl:1706: :lists.mapfoldl_1/3
(stdlib 5.0.2) lists.erl:1707: :lists.mapfoldl_1/3
(elixir 1.15.4) lib/macro.ex:653: Macro.do_traverse/4
(stdlib 5.0.2) lists.erl:1706: :lists.mapfoldl_1/3
(stdlib 5.0.2) lists.erl:1707: :lists.mapfoldl_1/3
(elixir 1.15.4) lib/macro.ex:653: Macro.do_traverse/4
(stdlib 5.0.2) lists.erl:1706: :lists.mapfoldl_1/3
(elixir 1.15.4) lib/macro.ex:653: Macro.do_traverse/4
(stdlib 5.0.2) lists.erl:1706: :lists.mapfoldl_1/3
(elixir 1.15.4) lib/macro.ex:653: Macro.do_traverse/4
(ecto 3.10.3) lib/ecto/query/builder/dynamic.ex:59: Ecto.Query.Builder.Dynamic.partially_expand/6
(ecto 3.10.3) lib/ecto/query/builder/select.ex:235: Ecto.Query.Builder.Select.expand_nested/3
(ecto 3.10.3) lib/ecto/query/builder/select.ex:274: Ecto.Query.Builder.Select.expand_nested_pair/3
(elixir 1.15.4) lib/enum.ex:1825: anonymous fn/3 in Enum.map_reduce/3
(stdlib 5.0.2) maps.erl:416: :maps.fold_1/4
(elixir 1.15.4) lib/enum.ex:2522: Enum.map_reduce/3
(ecto 3.10.3) lib/ecto/query/builder/select.ex:257: Ecto.Query.Builder.Select.expand_nested/3
(ecto 3.10.3) lib/ecto/query/builder/select.ex:205: Ecto.Query.Builder.Select.select!/5
(elixir 1.15.4) lib/enum.ex:2510: Enum."-reduce/3-lists^foldl/2-0-"/3
(ash_postgres 1.3.41) lib/aggregate.ex:121: anonymous fn/6 in AshPostgres.Aggregate.add_aggregates/6
(elixir 1.15.4) lib/enum.ex:4830: Enumerable.List.reduce/3
(elixir 1.15.4) lib/enum.ex:2564: Enum.reduce_while/3
(ash_postgres 1.3.41) lib/aggregate.ex:53: AshPostgres.Aggregate.add_aggregates/6
(ash 2.13.3) lib/ash/query/aggregate.ex:570: anonymous fn/6 in Ash.Query.Aggregate.value_request/9
(ash 2.13.3) lib/ash/engine/engine.ex:537: anonymous fn/2 in Ash.Engine.run_iteration/1
(ash 2.13.3) lib/ash/engine/engine.ex:558: anonymous fn/4 in Ash.Engine.async/2
(elixir 1.15.4) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
(elixir 1.15.4) lib/task/supervised.ex:36: Task.Supervised.reply/4
(ash 2.13.3) lib/ash/engine/engine.ex:552: Ash.Engine.async/2
(elixir 1.15.4) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
(elixir 1.15.4) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
(ash 2.13.3) lib/ash/engine/engine.ex:702: Ash.Engine.start_pending_tasks/1
(ash 2.13.3) lib/ash/engine/engine.ex:323: Ash.Engine.run_to_completion/1
(ash 2.13.3) lib/ash/engine/engine.ex:252: Ash.Engine.do_run/2
(ash 2.13.3) lib/ash/engine/engine.ex:148: Ash.Engine.run/2
(ash 2.13.3) lib/ash/actions/read.ex:173: Ash.Actions.Read.do_run/3
(ash 2.13.3) lib/ash/actions/read.ex:96: Ash.Actions.Read.run/3
(ash 2.13.3) lib/ash/api/api.ex:1733: Ash.Api.load/4
(ash 2.13.3) lib/ash/api/api.ex:1707: Ash.Api.load!/4
test/complex_calculations_test.exs:55: (test)
|
2023-08-16 20:49:18 -04:00 |
|
Alessio Montagnani
|
4a02d8c6ad
|
improvement: custom-extension implementation (#162)
* improvement: custom-extension implementation
* improvement: allow adding custom-extension by module's reference and fixes formatting
* ci: fixes formatter
|
2023-08-08 10:20:26 -07:00 |
|
Zach Daniel
|
d2e309c126
|
improvement: support the new parent/1 expr in relationships
|
2023-07-26 17:32:09 -04:00 |
|