Spring Boot || @PutMapping and @PatchMapping differences with validation in Spring Boot Rest API

preview_player
Показать описание
Spring Boot || Difference between @PutMapping and @PatchMapping with validation in Spring Rest API Real time example.

Spring Rest API Request validation and Exception handling.
Рекомендации по теме
Комментарии
Автор

Informative video but I believe the validation is not working for the PATCH method since the @Valid will not be able to process the Map<String, Object>. Do you have other recommendation to be able for the PATCH method to trigger validations as well?

aidzgaming
Автор

Mam, One doubt on the patch why you have used reflection to update customer object? is it necessary when we choose patch, can't we achieve without reflection please clarify. Thanks you 😊

fhrerfg
visit shbcf.ru