-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: field가 1개일 때 Builer를 사용하면 역직렬화 오류 발생 (#43)
@Jacksonized를 사용하여 역직렬화를 진행하여 해결. @Jacksonized는 @builder와 함께 쓰임
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
6 changes: 3 additions & 3 deletions
6
src/main/java/com/api/TaveShot/domain/post/comment/dto/request/CommentEditRequest.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package com.api.TaveShot.domain.post.comment.dto.request; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.extern.jackson.Jacksonized; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
@Jacksonized | ||
@Builder | ||
public class CommentEditRequest { | ||
private final String comment; | ||
private String comment; | ||
} |