-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor determining server error type when deserializing an `@httpPa…
…yload` (#3752) Determining the error type when deserializing an `@httpPayload` is a protocol-specific concern, and as such should not live in `ServerHttpBoundProtocolGenerator`, which should remain protocol-agnostic. This commits makes that determination part of the `ServerProtocol` interface. As a drive-by improvement, the companion object in `ServerHttpBoundProtocolGenerator` has also been removed, since its members have been unused for a long time. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
- Loading branch information
1 parent
dc66ae4
commit 4c30f00
Showing
3 changed files
with
75 additions
and
56 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