Skip to content

[FEAT/#20] cal/일정 조회 기능#23

Open
jiwonniddaaa wants to merge 3 commits into
developfrom
#20-cal_view-jw
Open

[FEAT/#20] cal/일정 조회 기능#23
jiwonniddaaa wants to merge 3 commits into
developfrom
#20-cal_view-jw

Conversation

@jiwonniddaaa
Copy link
Copy Markdown
Collaborator

이슈 번호

#20

작업 내용

  • 공유 캘린더 범위 조회
  • 선택 날짜 일정 조회

기타

@jiwonniddaaa jiwonniddaaa self-assigned this May 25, 2026
@jiwonniddaaa jiwonniddaaa added the ✨ feature New feature label May 25, 2026
Copy link
Copy Markdown
Contributor

@youngseo22 youngseo22 left a comment

Choose a reason for hiding this comment

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

체계적으로 잘 짜셨군요 ~

)

data class CalendarSchedule(
@JsonProperty("schedule_id")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

이런식으로 스네이크 케이스로 jsonProperty 달아두면 response가 스네이크케이스로 나오지않아??


@GetMapping("/month")
fun getCalendarSchedules(
@RequestHeader("X-USER-ID") userId: Long,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

헤더로 userId를 직접 받아오는 게 아닌 jwt 토큰으로 userId 조회해서 가져옵니다!


val calendarSchedules = schedules.map { schedule ->
CalendarSchedule(
scheduleId = schedule.scheduleId ?: throw IllegalStateException("일정 ID가 존재하지 않습니다."),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

에러코드 사용해주십쇼! (아래도!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants