ash/test/actions
Zach Daniel 907aec5e82 improvement: support loading through types
Will document this in a separate PR. The broad strokes are this:

1. to load through an attribtue, `load(attribute: [:nested: :stuff])`
2. to load through a calculation, `load(calculation: {:%{...input}, nested: :stuff})`
3. union types support loading through them, and is done first by keying by the type name, i.e: `load(union: [type_name: [nested: :stuff])`.
4. union types support specifying a load statement for all types with `load(union: [*: [nested: :stuff]])`
2023-06-07 21:54:17 -04:00
..
bulk fix: properly honor the return_errors? option 2023-05-25 09:46:27 -04:00
aggregate_test.exs fix: various fixes in aggregate authorization behavior 2023-03-17 12:02:37 -04:00
async_load_test.exs improvement: rewrite calculation loader 2023-03-28 20:34:15 -04:00
belongs_to_test.exs improvement: deprecate :replace in favor of :relate_and_unrelate 2022-09-19 15:44:06 -04:00
create_test.exs improvement: add skip_global_validations? option for actions 2023-03-21 13:33:48 -04:00
destroy_test.exs feat: support anonymous functions in DSL 2022-10-30 21:00:57 -04:00
generic_actions_test.exs docs: basic actions -> generic actions 2023-05-02 20:00:18 -04:00
identity_test.exs chore: fix tests 2022-09-20 19:44:04 -04:00
load_test.exs improvement: support loading through types 2023-06-07 21:54:17 -04:00
manual_read_test.exs fix: don't ignore lexical tracker on modules in DSL 2022-04-28 18:08:00 -04:00
many_to_many_test.exs improvement: include resource validations by default 2023-04-25 21:31:01 -06:00
multitenancy_test.exs improvement: Add Ash.Error.Invalid.TenantRequired error (#471) 2022-12-29 23:05:41 -05:00
pagination_test.exs fix: properly handle allow_nil fields in keyset pagination 2023-02-27 12:18:18 -05:00
read_test.exs improvement: handle nils in memory the same way sql would have 2023-06-05 16:50:27 -04:00
stream_test.exs fix: Only create values for attributes that did not get a generator (#595) 2023-06-02 08:18:02 -04:00
timeout_test.exs improvement: new timeout error message and test it 2022-06-27 15:57:30 -04:00
update_test.exs improvement: optimize various solver boolean optimizations 2022-11-23 03:39:00 -05:00
validation_test.exs improvement: Allow a single where condition for validations (#407) 2022-10-07 11:24:04 -04:00