학원 스케줄 퍼사드 패턴 도입 및 Etag 도입으로 인한 응답 사이즈 개선 #129
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.
구현
학원 스케줄 퍼사드 패턴을 도입하여 더 이상 DashboardAccessService를 AcademyCalendarService가 몰라도 됩니다.
Etag를 도입하여 응답 사이즈를 2.3KB에서 304B로 개선하였습니다.
/children
의 경우 아이가 현재 어떤 일정을 수행 중인지 알려주는 요청이어서 데이터가 잘 바뀌지 않아 Etag를 적용하였습니다.그러나 현재 시각을 계속 응답으로 주는데 이 필드는 실제로 사용하지 않은 필드여서 Etag를 적용하기 위해 하드코딩을 해두었습니다. 이후 프론트분들과 협의하에 필드를 완전히 삭제할 계획입니다. @jisung24 @wonu606