Ash Record without persitance to the database
How can you manually create a record, so I can use it in my code, but not persist it to the database?
4 Replies
For Ash Authentication I want to create anonymous users, for when you're not logged in
I want to assign them to my session and socket so I can use them, but not persist them to my database until they verify their email
You can use manual actions to do things like that
the specific thing you've mentioned might bring some interesting challenges, but you can read up on manual actions to see how it works
Found 7 Guides results in ash for query "manual actions":
* Manual Actions: https://ash-hq.org/docs/guides/ash/2.9.9/topics/manual-actions
* Actions: https://ash-hq.org/docs/guides/ash/2.9.9/topics/actions
* Get Started: https://ash-hq.org/docs/guides/ash/2.9.9/tutorials/get-started
* Identities: https://ash-hq.org/docs/guides/ash/2.9.9/topics/identities
* Policies: https://ash-hq.org/docs/guides/ash/2.9.9/topics/policies
* Glossary: https://ash-hq.org/docs/guides/ash/2.9.9/topics/glossary
* Embedded Resources: https://ash-hq.org/docs/guides/ash/2.9.9/topics/embedded-resources
Thanks @Zach Daniel I'll look into that