Skip to content
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

Backfill message & parse without case sensitivity #565

Merged
merged 7 commits into from
Jun 30, 2021
Merged

Conversation

rcoh
Copy link
Collaborator

@rcoh rcoh commented Jun 30, 2021

Issue #, if available: #372, #374
Description of changes: This makes 3 changes:

  1. Add message to all error shapes if they don't have it already (configurable)
  2. Backfill message from meta
  3. Adds a protocol test validating that we are case-insensitive when parsing errors.

We've disabled the extra message field during protocol tests for XML protocols right now—they fail because the test XML erroneously contains a message field. (smithy-lang/smithy#849)

Generated code diff: main-generated...backfill-message-generated

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

@rcoh rcoh requested a review from jdisanti June 30, 2021 16:13
@rcoh rcoh enabled auto-merge (squash) June 30, 2021 21:49
@rcoh rcoh merged commit c10899d into main Jun 30, 2021
@rcoh rcoh deleted the backfill-message branch June 30, 2021 21:59
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