Skip to content

게시글 생성 기능 추가#26

Merged
wlsh44 merged 6 commits intodevelopfrom
feature/post
Feb 23, 2025
Merged

게시글 생성 기능 추가#26
wlsh44 merged 6 commits intodevelopfrom
feature/post

Conversation

@wlsh44
Copy link
Contributor

@wlsh44 wlsh44 commented Feb 23, 2025

🚀 작업 내용 설명

  • 게시글 생성 기능 추가
  • docs 구현 현황 추가

📢 그 외

각자 개발하는 부분에서 게시글이 있어야 할 것 같아서 생성 기능만 추가해서 올렸습니다.
shareUrl 부분은 post/:id, post/난수 어떤 방식으로 할지 결정이 나지 않았던 것 같아서 우선 미구현 상태로 냅뒀습니다.

docs에도 구현 여부에 따라 (미구현) 붙여놔서 나중에 구현 다 하시면 지워주시면 될 것 같아요!

📌 �관련 이슈

@wlsh44 wlsh44 self-assigned this Feb 23, 2025
@wlsh44 wlsh44 requested a review from YuuuuuuYu February 23, 2025 05:20
import java.util.List;

@Service
@Transactional(readOnly = true)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기에 이 옵션을 넣은 이유가 있을까요?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

개인 취향같은건데 query, command가 같은 클래스에 있으면 @Transactional(readOnly = true)를 클래스 맨 상단에 두고 트랜잭션이 필요한 메서드에는 따로 @Transactional를 붙여주는 식으로 개발합니다

@wlsh44 wlsh44 merged commit f259934 into develop Feb 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants