Project-Books / book-project

Book tracker web app for book lovers
https://project-books.github.io/
GNU General Public License v3.0
482 stars 456 forks source link

[Draft] Verify BookDto has the required fields #975

Closed anujasupekar closed 2 years ago

anujasupekar commented 2 years ago

Summary of change

Added @Valid annotation to the argument in BookController 'addBook' method, to validate that the BookDto has the required fields

Related issue

In progress #871

Pull request checklist

Please keep this checklist in & ensure you have done the following:

stale[bot] commented 2 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.