mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
907aec5e82
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]])` |
||
---|---|---|
.. | ||
actions | ||
changes | ||
preparations | ||
relationships | ||
validation | ||
aggregates_test.exs | ||
attributes_test.exs | ||
calculations_test.exs | ||
identities_test.exs | ||
info_test.exs | ||
require_unique_action_names_test.exs | ||
resource_test.exs | ||
upsert_test.exs | ||
validate_accept_test.exs | ||
validations_test.exs |