Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to annotate generic action returning records - Ash Framework
AF
Ash Framework
โข
9mo ago
โข
1 reply
Sienhopist
How to annotate generic action returning records
If I have a generic action on a resource that returns a single record of that resource
, how do I annotate the return type of the action
?
__MODULE__
__MODULE__
is not recognized so for now I
'm using
:struct
:struct
but I don
't think that
's completely right
.
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
changes in generic action
AF
Ash Framework / support
10mo ago
How to specify tuple return type on a generic action?
AF
Ash Framework / support
4mo ago
read action returning a boolean
AF
Ash Framework / support
3y ago
AshJsonAPI generic action arguments in a GET route
AF
Ash Framework / support
10mo ago