codedang
codedang copied to clipboard
refactor(be): replace gql query names with model names
Description
GraphQL best practices를 따르도록 query 이름을 get~ 형태에서 모델 이름으로 변경합니다.
(예: getNotices => notices)
https://www.apollographql.com/docs/react/data/operation-best-practices
Best practices에 따라 추후 query들도 nested로 바꿀 에정입니다.
예)
기존
getAssignmentScoreSummaries(groupId: number, assignmentId: number) {
...
}
변경
group(id: number) {
assignment(id: number) {
scoreSummaries {
...
}
}
}
Before submitting the PR, please make sure you do the following
- [x] Read the Contributing Guidelines
- [x] Read the Contributing Guidelines and follow the Commit Convention
- [x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g.
fixes #123). - [x] Ideally, include relevant tests that fail without this PR but pass with it.
The preview deployment is ready. 🟢
Open Preview | Open Build Logs
Last updated at: 2025-06-04 09:02:24 CET
프론트에서 대응이 필요할거 같은데 이미 태스크 배정이 됐나요?
@w0uldy0u 프론트도 이 pr에서 수정 완료했습니다