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

Added update functionality to Product. #73

Merged
merged 1 commit into from
Sep 27, 2021

Conversation

trihugger
Copy link
Contributor

Split the ProductRequest class into a Create and Update (really just added the UpdateProductRequest and the respective UpdateProductValidator), as per your request on my question today. My only concern is the duplication of the validation rules, and just wondering your thoughts on the benefit of segregating vs centralizing for the validation logic.

Also updated the postman with the update product PUT query.

Hope this helps,

Jeff

Splitting the ProductRequest classes into a Create and Update, as per your request on my question today. My only concern is the duplication of the validation rules, and just wondering your thoughts on the benefit of segregating vs centralizing for the validation logic.

Also update the postman with the update product PUT query.

Hope this helps.
@iammukeshm iammukeshm merged commit cd356cc into fullstackhero:main Sep 27, 2021
@iammukeshm
Copy link
Member

Thanks!

iammukeshm added a commit that referenced this pull request Sep 27, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants