Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Automatically Loading a Calculation by Default - Ash Framework
AF
Ash Framework
•
7mo ago
•
4 replies
Joan Gavelán
Automatically Loading a Calculation by Default
Is there a way to always load a calculation by default without having to specify it every time
?
Solution
there is the
build
preparation you can use
read :read do
prepare build(load: [:calculation])
end
read :read do
prepare build(load: [:calculation])
end
Jump to solution
Ash Framework
Join
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.
2,193
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
no FunctionClause matching when loading calculation
AF
Ash Framework / support
3y ago
Loading data from an external API for a calculation
AF
Ash Framework / support
6mo ago
Calculation just ids from a relation
AF
Ash Framework / support
10mo ago
Calculation referencing a resource in a different schema
AF
Ash Framework / support
10mo ago