ash/test
Alan Heywood 2ee311b061
test: demonstrate error with bulk update on manual action (#1204)
The following error is produced

1) test manual updates are supported (Ash.Test.Actions.BulkUpdateTest)
     test/actions/bulk/bulk_update_test.exs:358
     ** (CaseClauseError) no case clause matching: nil
     code: |> Ash.bulk_update!(:update_manual, %{},
     stacktrace:
       (ash 3.0.7) lib/ash/actions/update/bulk.ex:2076: anonymous fn/11 in Ash.Actions.Update.Bulk.run_batch/10
       (elixir 1.16.2) lib/enum.ex:1264: anonymous fn/3 in Enum.flat_map/2
       (stdlib 5.0.2) maps.erl:416: :maps.fold_1/4
       (elixir 1.16.2) lib/enum.ex:2540: Enum.flat_map/2
       (ash 3.0.7) lib/ash/actions/update/bulk.ex:1966: Ash.Actions.Update.Bulk.run_batch/10
       (ash 3.0.7) lib/ash/actions/update/bulk.ex:1505: Ash.Actions.Update.Bulk.do_handle_batch/13
       (ash 3.0.7) lib/ash/actions/update/bulk.ex:1042: anonymous fn/12 in Ash.Actions.Update.Bulk.do_stream_batches/7
       (elixir 1.16.2) lib/stream.ex:613: anonymous fn/4 in Stream.map/2
       (elixir 1.16.2) lib/stream.ex:1816: anonymous fn/3 in Enumerable.Stream.reduce/3
       (elixir 1.16.2) lib/stream.ex:273: anonymous fn/4 in Stream.chunk_while_fun/2
       (elixir 1.16.2) lib/stream.ex:1159: anonymous fn/3 in Stream.with_index/2
       (elixir 1.16.2) lib/stream.ex:1079: Stream.do_transform_each/3
       (elixir 1.16.2) lib/stream.ex:1816: anonymous fn/3 in Enumerable.Stream.reduce/3
       (elixir 1.16.2) lib/enum.ex:4839: Enumerable.List.reduce/3
       (elixir 1.16.2) lib/stream.ex:1027: Stream.do_transform_inner_list/7
       (elixir 1.16.2) lib/stream.ex:1828: Enumerable.Stream.do_each/4
       (elixir 1.16.2) lib/stream.ex:1052: Stream.do_transform_inner_enum/7
       (elixir 1.16.2) lib/stream.ex:1828: Enumerable.Stream.do_each/4
       (elixir 1.16.2) lib/stream.ex:943: Stream.do_transform/5
       (elixir 1.16.2) lib/enum.ex:4396: Enum.reverse/1
       (elixir 1.16.2) lib/enum.ex:3728: Enum.to_list/1
       (ash 3.0.7) lib/ash/actions/update/bulk.ex:1070: Ash.Actions.Update.Bulk.run_batches/3
       (ash 3.0.7) lib/ash/actions/update/bulk.ex:386: Ash.Actions.Update.Bulk.run/6
       (ash 3.0.7) lib/ash.ex:2209: Ash.bulk_update!/4
       test/actions/bulk/bulk_update_test.exs:373: (test)
2024-05-27 10:32:39 -04:00
..
actions test: demonstrate error with bulk update on manual action (#1204) 2024-05-27 10:32:39 -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: allow calculations to access what would forbidden fields of related items 2024-05-08 16:22:48 -04:00
changeset fix: handle list of atomic conditions (#1194) (#1195) 2024-05-22 11:38:15 -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 improvement: add can_return_nil?/1 callback to Ash expressions 2024-05-14 17:58:13 -04:00
generator improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
notifier fix: properly persist simple_notifiers 2024-05-15 16:46:16 -04:00
policy fix: multiple filter-checks in policy conditions were not composing properly 2024-05-24 22:58:05 -04:00
query/function fix: fix date_add query function (#1010) 2024-04-11 07:42:11 -04:00
reactor improvement: add atomic_upgrade? flag to update/destroy actions 2024-05-23 11:05:17 -04:00
resource improvement: support nils_distinct? on identities 2024-05-24 00:24:42 -04:00
sort chore: run formatter. 2024-05-21 09:17:58 +12:00
support fix: multiple filter-checks in policy conditions were not composing properly 2024-05-24 22:58:05 -04:00
type feat: add new remove_nil_items? array type constraint (#1116) 2024-05-05 12:05:04 -04:00
ash_test.exs improvement: better create/update first argument (#1060) 2024-04-30 13:02:27 -04:00
code_interface_test.exs fix: improve non-atomic-upgrade policy handling 2024-05-23 18:34:15 -04:00
count_test.exs improvement!: 3.0 (#955) 2024-03-27 16:31:59 -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
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!: 3.0 (#955) 2024-03-27 16:31:59 -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