(CaseClauseError) no case clause matching: #Ash.Changeset<api
This must be a very basic question but I'm getting the above error in running this code.
add_user_timezone
is defined in user.ex
which is listed in MyApp.Accounts.Registry
. What am I missing?
<Full error message>
<:add_user_timezone>
3 Replies
in manual actions you don't return a changeset, you implement the action logic yourself and return the result
I think you just want a change, there
not
manual
although FWIW, you can just use this to the same effect:
You are absolutely right! Thank you!!
We should add validations for the return type of that function so that if you return the wrong value you get an explicit warning.
If you have a minute to open a GH issue about it we could get it fixed 😄