conduit icon indicating copy to clipboard operation
conduit copied to clipboard

updating username does not update authors table

Open prem-prakash opened this issue 7 years ago • 3 comments

prem-prakash avatar Mar 10 '18 22:03 prem-prakash

It does not appear that updating the profile does anything but return the params you pass it. There should be some example functionality of actually updating the profile/user and propagating changes in either direction.

def update_author_profile(%Author{} = author, attrs \\ %{}) do
    {:ok, author}
end

Am I wrong or does this just return the params?

jodyalbritton avatar Jun 11 '18 00:06 jodyalbritton

Sorry for the late reply, this is work in progress. It's as far as I've progressed with the example code until I've written the corresponding chapters in the book.

It will be implemented, eventually!

slashdotdash avatar Jun 12 '18 21:06 slashdotdash

For this the best solution would be a worker assigned to deal with this kind of changes... so it would no be rigth int time the change, but eventualy everone would be on same page.

LucasBadico avatar Aug 01 '19 18:08 LucasBadico