-
Notifications
You must be signed in to change notification settings - Fork 7
[BE] feat: 발행 후 발행 url 글 정보 조회 API 응답에 추가 #410
Conversation
# Conflicts: # backend/src/main/java/org/donggle/backend/application/service/blog/PublishService.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다 !! 🫡
blogWriting.getBlogTypeValue(), | ||
blogWriting.getPublishedAt(), | ||
blogWriting.getTags())) | ||
.map(PublishedDetailResponse::of) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
풀어서 넣는것보다 내부에서 값을 저장하는게 더 나을까요 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
장단점이 있을것 같습니다만, 뭔가 한눈에 blogWriting이 PublishedDetailResponse로 바꼈구나를 알 수 있는거 같아서 좋은 것 같아요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -34,12 +34,14 @@ public class BlogWriting extends BaseEntity { | |||
private LocalDateTime publishedAt; | |||
@ElementCollection | |||
private List<String> tags; | |||
private String url; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
문자열을 포장하는 것은 어떨까요?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
좋습니다~!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정을할까 했는데,, 아무래도 Publish 쪽과 연관이 되어있어서 충돌이 좀 날꺼 같아 나중에 해야할꺼 같네요!
return new PublishedDetailResponse(blogWriting.getBlogTypeValue(), blogWriting.getPublishedAt(), blogWriting.getTags(), blogWriting.getUrl()); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
쿠우울
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!
feat: 발행 후 글 조회시 글 정보에 발행 글 url 필드 추가
feat: 발행 후 글 조회시 글 정보에 발행 글 url 필드 추가
🛠️ Issue
✅ Tasks
⏰ Time Difference
📝 Note