Skip to content

Conversation

@yongjun0511
Copy link
Collaborator

🌱 관련 이슈


📌 작업 내용 및 특이사항

  • 임시 앨범 이미지 업로드 PresignedURL 발급 & 이미지 삭제 API 구현

📚 참고사항

  • 이미지 엔티티 그리고 API와 겹치는 부분이 굉장히 많아서 나중에 Abstract 부모 클래스로 뺼까 고민중입니다.
  • 그런데, 위에서 말한 부분은 실제 서비스를 사용해보고 바뀔점이 없는 시점에 천천히 진행해도 좋아보입니다.

@yongjun0511 yongjun0511 self-assigned this Sep 11, 2025
@yongjun0511 yongjun0511 requested a review from ht3064 as a code owner September 11, 2025 16:46
@yongjun0511 yongjun0511 changed the title feat: 임시 앨범 이미지 업로드 PresignedURL 발급 & 이미지 삭제 API 구현 feat: 임시 앨범 이미지 업로드 PresignedURL 발급 & 임시 앨범 이미지 삭제 API 구현 Sep 11, 2025
CREATE_OVER_LIMIT(400, "임시 앨범은 5개 이상으로 만들 수 없습니다."),
TEMP_ALBUM_CAPACITY_EXCEEDED(400, "임시 앨범의 용량을 초과했습니다."),
IMAGES_NOT_IN_TEMP_ALBUM(400, "임시 앨범에 속해 있지 않은 이미지가 포함되어 있습니다."),
DUPLICATE_HASHES(400, "중복되는 md5 해시값이 존재합니다."),
Copy link
Collaborator

Choose a reason for hiding this comment

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

DUPLICATE_HASHES 에러 코드가 이미 ImageErrorCode에 정의되어 있던데 재활용하는게 더 좋아보여요!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

검증 메서드와 엔티티 자체도 달라서 분리했습니다!

@yongjun0511 yongjun0511 force-pushed the feat/204-temp-album-image-upload-delete branch from 241aa03 to 9df1ac3 Compare September 13, 2025 12:01
Copy link
Collaborator

@ht3064 ht3064 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

@sonarqubecloud
Copy link

@yongjun0511 yongjun0511 merged commit 99415fb into develop Sep 13, 2025
2 checks passed
@yongjun0511 yongjun0511 deleted the feat/204-temp-album-image-upload-delete branch September 13, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ 임시 앨범 이미지 업로드 PresignedURL 발급 & 이미지 삭제 API 구현

3 participants