Ash FrameworkAF
Ash Framework7mo ago
4 replies
Sienhopist

How to compose read actions?

I have a read action with a small prepare that selects a few attributes and filters. I want to make a new read action that uses the same query as the previous read action, but also loads a calculation and a few relationships.

How do I "compose" this with the old read action?
Solution
You don't compose them together, you share a preparation between the two actions
Was this page helpful?