Ash.read_one!(MyApp.User, email: "some@email.com")
I came across this example in the documentation and I’m assuming the documentation is outdated.
Or does this actually work with some setup in the User resource?
Ash.read_one!(MyApp.User, email: "some@email.com")
I came across this example in the documentation and I’m assuming the documentation is outdated.
Or does this actually work with some setup in the User resource?
Oh…no you’re right. I think that was badly copied from Ash.get
PR/issue welcome!