Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Make some calculation action specific - Ash Framework
AF
Ash Framework
โข
4y ago
โข
4 replies
Blibs
Make some calculation action specific
So
, if I want to do a specific change for an action
, I can always add
, where: [action_is(:create)]
, where: [action_is(:create)]
or something like this
.
I tried the same for calculations but it doesn
't seem like it has the same functionality
.
So
, if I want to do a calculation that is only relevant for a specific action
, is there some way to do it
?
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
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Action-specific parameter sanitization
AF
Ash Framework / support
9mo ago
Autoload an aggregation, relationship or calculation in a read action
AF
Ash Framework / support
4y ago
Calculation with arguments used in another calculation for sorting
AF
Ash Framework / support
3y ago
Fetching descendants in calculation
AF
Ash Framework / support
3y ago