Search
Star
1.4k
Feedback
Setup for Free
AF
Ash Framework
•
3y ago
•
5 replies
obsidian
How do I make an attribute on a resource unique?
I believe Identities are the way to do it
https://ash-hq.org/docs/guides/ash/latest/topics/identities
But having trouble finding code examples
.
Ash HQ
Guide: Identities
Read the
"Identities
" guide on Ash HQ
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,182
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
Create a Unique Attribute
AF
Ash Framework / support
3y ago
How do you set an attribute to the join resource when creating?
AF
Ash Framework / support
3y ago
The resource `Example.Accounts.User` does not define an attribute named `:unique_email`
AF
Ash Framework / support
3y ago
Not sure how to apply a policy on an attribute of a resource. Keep getting an error.
AF
Ash Framework / support
5mo ago