-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(be): implement GraphQL Exceptions (#1267)
* feat: create transport exceptions for GraphQL Request * feat: add exception conversion onto the transport level * feat: add optional exception message setting argument * refactor: add default message to InternalServerGraphQLError * refactor: replace error throwing logic in controllers by using convert2~ methods * refactor: change exception name * feat: add apollo server error formatter HTTPException의 상태 코드를 GQL 에러 코드로 변환시켜줌 * fix: make resolvers throw HTTP Exceptions * fix: delete status property * refactor: refactor apollo-error-formatter * fix: change Gql Error to HTTP Error * refactor: delete unused class method * refactor: delete unused exceptions - Custom GraphQL Errors 삭제 - 파일 이름 변경 (graphql-error.exception -> graphql-error-code) --------- Co-authored-by: Jaehyeon Kim <[email protected]>
- Loading branch information
Showing
15 changed files
with
201 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.