resolver helper들에서 return-camel-case를 언제나 하던 코드 삭제 #31
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.
https://github.com/green-labs/sinsunhi-backend/pull/1777 을 잇는 PR입니다.
몇번 코드가 정리되고 나서 보니 resolver helper 함수들의 맨 마지막에서 언제나 camelCase 변환을 해주고 있는 상황이었고,
그 바깥의
generate-one
함수에서는 return-camel-case? 옵션을 받아서 그에 맞게 camelCase 변환을 해 주기 때문에 resolver helper 함수들에서는 해당 케이스 변환 코드를 모두 삭제해도 될 것 같습니다.