Skip to content

Generate unique error response deserializers #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 5, 2019
Merged

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Dec 5, 2019

Generate unique error response deserializers

This commit updates the abstact ProtocolGenerator implementations
to generate unique error response deserializers. This supports error
shapes that have HTTP bindings in the HttpBindingProtocolGenerator
as well as adding $metadata contents to errors.

This commit also includes minor updates to move from let to const.


Fix Error structure interface extensions


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This commit updates the abstact `ProtocolGenerator` implementations
to generate unique error response deserializers. This supports error
shapes that have HTTP bindings in the `HttpBindingProtocolGenerator`
as well as adding `$metadata` contents to errors.

This commit also includes minor updates to move from `let` to `const`.
@kstich kstich requested a review from mtdowling December 5, 2019 17:42
@kstich kstich merged commit 5f503b2 into master Dec 5, 2019
@kstich kstich deleted the error_updates branch December 5, 2019 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants