Skip to content

Commit 96a02e6

Browse files
robinjoonclaude
andauthored
feat: GraphQL _health 쿼리 DataFetcher 구현 (#32) (#33)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e4f3232 commit 96a02e6

3 files changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# GraphQL _health 쿼리 검증 체크리스트
2+
3+
## 필수 항목
4+
- [x] 아키텍처 원칙 준수 (docs/architecture.md 기준)
5+
- [x] 레이어 의존성 규칙 위반 없음
6+
- [x] 모든 테스트 통과
7+
- [x] 기존 테스트 깨지지 않음
8+
9+
## 선택 항목
10+
- [ ] API 엔드포인트 동작 확인

docs/plan/#32-health-query/plan.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# GraphQL _health 쿼리 DataFetcher 구현
2+
3+
> Issue: #32
4+
5+
## 단계
6+
7+
- [x] 1단계: health BC 패키지 및 DataFetcher 생성
8+
- [x] 2단계: 테스트 통과 및 검증
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package kr.io.team.loop.health.presentation.datafetcher
2+
3+
import com.netflix.graphql.dgs.DgsComponent
4+
import com.netflix.graphql.dgs.DgsQuery
5+
6+
@DgsComponent
7+
class HealthDataFetcher {
8+
@DgsQuery(field = "_health")
9+
fun health(): Boolean = true
10+
}

0 commit comments

Comments
 (0)