Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating username does not update authors table #7

Open
prem-prakash opened this issue Mar 10, 2018 · 3 comments
Open

updating username does not update authors table #7

prem-prakash opened this issue Mar 10, 2018 · 3 comments

Comments

@prem-prakash
Copy link

No description provided.

@jodyalbritton
Copy link

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?

@slashdotdash
Copy link
Owner

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!

@LucasBadico
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants