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

editBook should check if ISBN has been used by another book #13

Open
spaceninja opened this issue Aug 15, 2021 · 0 comments
Open

editBook should check if ISBN has been used by another book #13

spaceninja opened this issue Aug 15, 2021 · 0 comments
Labels
p3 low priority task

Comments

@spaceninja
Copy link
Owner

In addBook, we can just check if there's already a book using this ISBN in allBooks, but in editBooks this won't work because the book we're editing is already using it! However, this is still a useful check in case the user changes the ISBN to one that's already being used. So we should still check, but the check needs to see if a book is already using this ISBN that has a different ID.

@spaceninja spaceninja added the p3 low priority task label Aug 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3 low priority task
Projects
None yet
Development

No branches or pull requests

1 participant