Ash FrameworkAF
Ash Framework3y ago
4 replies
Terryble

How to define a read method for preloading associations inside a resource?

Apologies for the noob question, but I couldn't find it in the docs. Let's say I have an author resource that has_many posts. How do I use the read DSL to get an author by its ID and preload its associated posts?
Was this page helpful?