From 07d130911a28e786b222642ec3c2966c0407ad79 Mon Sep 17 00:00:00 2001 From: toychip Date: Fri, 19 Jan 2024 02:21:10 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20field=EA=B0=80=201=EA=B0=9C=EC=9D=BC=20?= =?UTF-8?q?=EB=95=8C=20Builer=EB=A5=BC=20=EC=82=AC=EC=9A=A9=ED=95=98?= =?UTF-8?q?=EB=A9=B4=20=EC=97=AD=EC=A7=81=EB=A0=AC=ED=99=94=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EB=B0=9C=EC=83=9D=20(#43)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @Jacksonized를 사용하여 역직렬화를 진행하여 해결. @Jacksonized는 @Builder와 함께 쓰임 --- build.gradle | 2 +- .../domain/post/comment/dto/request/CommentEditRequest.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 8947377..2ccde0c 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group = 'com.api' -version = '1.4.0-jwt' +version = '1.4.2-edit' java { sourceCompatibility = '17' diff --git a/src/main/java/com/api/TaveShot/domain/post/comment/dto/request/CommentEditRequest.java b/src/main/java/com/api/TaveShot/domain/post/comment/dto/request/CommentEditRequest.java index 08856a1..b13fcb0 100644 --- a/src/main/java/com/api/TaveShot/domain/post/comment/dto/request/CommentEditRequest.java +++ b/src/main/java/com/api/TaveShot/domain/post/comment/dto/request/CommentEditRequest.java @@ -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; }