ash/test
Andreas Donig de0f72b475
Fix: honor bulk upsert condition (#1432)
* Require Ash.Expr to make sure upsert_conflict/1 is available

* Make sure it correctly tests opts[:upsert_condition] for nilness

* Make sure the base changeset also adheres to the upsert condition

* Revert the changes so we can show the problem with a test case

* Add a test case that shows what the problem is

* Add the upsert_condition filter to the base changeset again

* Change the way the test checks because bulk_create/4 does not return unchanged records
2024-09-03 16:23:12 -04:00
..
actions Fix: honor bulk upsert condition (#1432) 2024-09-03 16:23:12 -04:00
ash improvement: support atomics, update_query, destroy_query in ETS data layer 2024-04-25 22:18:54 -04:00
authorizer improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
calculations fix: properly key nested calculations and add additional tests 2024-07-31 13:19:04 -04:00
changeset test: add tests showing before_transaction hooks setting derived values 2024-06-02 11:59:18 -04:00
distinct improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
domain improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
filter fix: fix behavior of synthesized joins across data layers 2024-07-30 22:11:32 -04:00
generator fix: fix seed not working when :__keep_nil__ is generated using seed_input (#1228) 2024-06-07 08:14:39 -04:00
notifier fix: properly persist simple_notifiers 2024-05-15 16:46:16 -04:00
policy improvement: make read policies more consistent, always preferring to filter over raise 2024-09-02 14:11:09 -04:00
query fix: fix the compare/2 implementations (#1232) 2024-06-10 08:15:51 -04:00
reactor improvement: optimize field checking for loading fields in query 2024-08-15 21:19:23 -04:00
resource chore: add tests for accept & some opts improvements 2024-08-21 11:58:11 -04:00
sort chore: run formatter. 2024-05-21 09:17:58 +12:00
support improvement: make read policies more consistent, always preferring to filter over raise 2024-09-02 14:11:09 -04:00
type fix: Fix error with nil value on structure types (#1380) 2024-08-08 20:15:20 -04:00
ash_test.exs improvement: better create/update first argument (#1060) 2024-04-30 13:02:27 -04:00
code_interface_test.exs improvement: bulk destroy for handling array changes in embeds 2024-06-24 09:48:08 -04:00
count_test.exs fix: honor the countable option in pagination 2024-08-30 15:34:40 -04:00
embedded_resource_test.exs improvement: use the source configuration for attributes in embedded resources 2024-05-14 12:32:25 -04:00
error_test.exs fix: run changesets w/ after_transaction hooks through standard logic 2024-05-02 00:06:31 -04:00
expr_test.exs chore: release version v3.3.0 2024-07-27 17:05:46 -04:00
helpers_test.exs fix: rename conflicting test name 2021-07-22 13:36:59 -04:00
plug_helpers.ex improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
query_test.exs improvement: Implement show_sensitive? config (#1180) 2024-05-21 08:47:51 -04:00
seed_test.exs improvement: add tenant option to Ash.Seed.seed! (#1230) 2024-06-10 07:47:43 -04:00
simple_data_layer_test.exs improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
test_helper.exs improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
tracer_test.exs improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
uuid_v7_test.exs chore: update tests to avoid flakiness 2024-08-07 19:44:01 -04:00