ash/test/resource
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
..
actions improvement: dep updates & new aggregate types avg/min/max/custom 2022-12-07 20:35:32 -05:00
changes fix: Fix set_new_attribute by adding missing option to set_attribute (#553) 2023-04-04 10:35:30 -04:00
preparations improvement: Add before_action/1 and after_action/1 to Ash.Resource.Preparations.Builtins. (#526) 2023-03-13 19:20:41 -04:00
relationships chore: fix tests/stacktrace setting 2023-04-06 10:23:17 -04:00
validation fix: remove field name from string length error message (#594) 2023-06-01 02:29:19 -04:00
aggregates_test.exs
attributes_test.exs improvement: dep updates & new aggregate types avg/min/max/custom 2022-12-07 20:35:32 -05:00
calculations_test.exs improvement: support loading through types 2023-06-07 21:54:17 -04:00
identities_test.exs improvement: update to latest spark 2022-10-08 14:00:08 -04:00
info_test.exs feat: add fields/1 and public_fields/1 to Ash.Resource.Info (#569) 2023-04-20 12:27:13 -06:00
require_unique_action_names_test.exs
resource_test.exs fix: properly raise error on invalid type. 2022-11-03 16:06:26 -07:00
upsert_test.exs improvement: support bulk upserts 2023-05-02 21:56:15 -04:00
validate_accept_test.exs
validations_test.exs