Conversation
ModelAttribute 는 각 필드 단위로 적용되므로 타입이 맞지 않는 오류가 발생해도 나머지 필드는 정상 처리된다 그러나 HTTP 메시지 컨버터는 필드 단위로 적용되지 않고 전체 객체 단위로 적용되므로 JSON 데이터를 객체로 변경하지 못하면 이후 단계가 진행되지 않는다
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Form 전송 객체 분리, HTTP 메시지 컨버터 와 ModelAttribute 오류차이