Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 내가 받은 픽 정보 오픈 API #47

Merged
merged 14 commits into from
Jul 27, 2024
Merged

feat: 내가 받은 픽 정보 오픈 API #47

merged 14 commits into from
Jul 27, 2024

Conversation

wonlog-g
Copy link
Member

  • 🔀 PR 제목의 형식을 잘 작성했나요? e.g. [add] pr template
  • 🧹 불필요한 코드는 제거했나요?

작업 내용

내가 받은 픽의 정보 중 하나를 오픈합니다.

  • 픽 오픈 정보 : 성별, 플랫폼, 초성 1자(중간 이름), 이름

@wonlog-g wonlog-g self-assigned this Jul 21, 2024
Copy link
Member

@xonmin xonmin left a comment

Choose a reason for hiding this comment

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

해당 작업해주신게 클라이언트에서 pick 오픈 시, openItem 에 따라 맞추어 responseDTO
에 value 로 응답 전달되는 것으로 이해했는데요
openItem 에 따라 전달되는 성별, 플랫폼, 초성, 이름 등 분기되는 로직은 추가되어야할 것 같습니다!

이해한 바로 우선 코멘트 남겼는데 틀린 부분이나 다른 생각 가지고 있는 거라면 알려주시면 감사하겠습니다 ( _ _ )

Copy link
Member

@toychip toychip left a comment

Choose a reason for hiding this comment

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

픽 정보 오픈 API 확인했습니다.
고생하셨습니다~!

Copy link
Collaborator

@yaeoni yaeoni left a comment

Choose a reason for hiding this comment

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

고생하셨어용!

Comment on lines 5 to 23
### 픽 정보 오픈하기

POST {{host}}/pick/open
Content-Type: application/json

{
"pickId": "pickId",
"pickOpenItem": "GENDER"
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

오 픽 정보를 오픈하는데 POST 요청이군용

Copy link
Member Author

Choose a reason for hiding this comment

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

픽 정보 오픈 시 내부 로직에서 해당 정보를 오픈했다는 업데이트를 수행해서 POST로 작성했습니당

api/src/main/kotlin/com/mashup/dojo/PickController.kt Outdated Show resolved Hide resolved
Comment on lines 26 to 38
@Schema(description = "픽 오픈 요청")
data class PickOpenRequest(
@field:NotBlank
val pickId: PickId,
@field:NotNull
val pickOpenItem: PickOpenItem,
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

pickOpenItem 도메인이 여까지 올라오는군요?

Copy link
Member Author

Choose a reason for hiding this comment

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

별도 클래스 정의해서 사용하는게 적합할까요..?! 도메인을 어느 레벨까지 가져와서 쓰는게 적당할지 고민되네욤..

Copy link
Member

@xonmin xonmin left a comment

Choose a reason for hiding this comment

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

몇가지 코멘트 남겼습니다 ㅎㅎㅎ
고생하셨습니다

service/src/main/kotlin/com/mashup/dojo/domain/Pick.kt Outdated Show resolved Hide resolved
service/src/main/kotlin/com/mashup/dojo/domain/Pick.kt Outdated Show resolved Hide resolved
@wonlog-g wonlog-g mentioned this pull request Jul 24, 2024
3 tasks
@wonlog-g wonlog-g merged commit f2348a1 into master Jul 27, 2024
1 check passed
@wonlog-g wonlog-g deleted the sewon/open-pick branch July 27, 2024 07:42
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.

4 participants