Refactor/#447/게시글 상세 조회 response 추가 #448
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📝 요약
resolved : #447
🔖 변경 사항
게시글 상세조회 api ("/space/{spaceId}/board/{boardId}/post/{postId}") 의 response에 요청 보내는 유저가 해당 게시글의 작성자인지를 알려주는 정보 추가
게시글 리스트 조회 api ("/space/{spaceId}/board/{boardId}/post") 의 response에 요청 보내는 유저가 해당 게시글의 작성자인지를 알려주는 정보 추가
✅ 리뷰 요구사항
<로컬 테스트 해보다가 알게된 사실>

현재 S3 upload 시에 업로드 할 수있는 파일 확장자를
AllowedImageFileExtensions.javaenum 파일에 명시해 둔 상황그런데 제가 HEIC 이미지 파일을 첨부파일로 해서 게시글 생성 요청을 보내니, 디스코드에 제대로 보이지 않습니다

-> 이런식으로 미리보기가 안됨 (링크 클릭하면 사진이 현재 디바이스에 다운로드 되고, 저장된 사진을 클릭하면 보이긴 함)
-> 위 사진은 jpeg 파일임 -> 미리보기 잘됨
개인적인 추측으로는 heic 파일이 용량이 커서 그런가? 싶긴한데 정확한 이유를 잘 모르겠네여. (구글링 해봐도 잘 안나오네여)
혹시 관련해서 아는 내용 있으시면 리뷰 남겨주시면 감사하겠습니다
📸 확인 방법 (선택)
로컬로는 전부 제가 글 생성하고 제가 확인하는 거여서 isPostOwner 값이 전부 true긴 합니다. dev로 배포 후 한번 확인이 필요하긴 합니다.
📌 PR 진행 시 이러한 점들을 참고해 주세요