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]])` |
||
---|---|---|
.. | ||
bulk | ||
aggregate_test.exs | ||
async_load_test.exs | ||
belongs_to_test.exs | ||
create_test.exs | ||
destroy_test.exs | ||
generic_actions_test.exs | ||
identity_test.exs | ||
load_test.exs | ||
manual_read_test.exs | ||
many_to_many_test.exs | ||
multitenancy_test.exs | ||
pagination_test.exs | ||
read_test.exs | ||
stream_test.exs | ||
timeout_test.exs | ||
update_test.exs | ||
validation_test.exs |