Ash FrameworkAF
Ash Framework8mo ago
19 replies
ajst7les

changes in generic action

Hi this is the jist of what what to do for my specific use case I know it's not possible: but there must be someway to do this by for example: making the changes runs or the action a create etc.

I'm stumped right now so any advice welcome : )

action :request_magic_link do
argument :email, :ci_string do
allow_nil? false
end

change Wildflower.Accounts.AbortIfEmailRecentlySent

change Wildflower.Accounts.AbortIfUserExists

run AshAuthentication.Strategy.MagicLink.Request
end
Was this page helpful?