Skip to content

fix: Nested Document serde causes crash - #1141

Merged
jbelkins merged 3 commits into
mainfrom
jbe/schema_based_document_prelude_fix
Aug 12, 2026
Merged

fix: Nested Document serde causes crash#1141
jbelkins merged 3 commits into
mainfrom
jbe/schema_based_document_prelude_fix

Conversation

@jbelkins

Copy link
Copy Markdown
Collaborator

Description of changes

The Smithy prelude document's members did not have targets set. As a result, nested documents caused crashes during serde. The document schema now has its member fields set correctly, document serde code has been fixed to use the correct members for collection documents, and many tests are added to verify correct behavior.

Scope

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jbelkins
jbelkins marked this pull request as ready for review August 10, 2026 16:07
@jbelkins
jbelkins requested a review from a team as a code owner August 10, 2026 16:07
@jbelkins
jbelkins requested a review from sichanyoo August 10, 2026 16:07
@jbelkins
jbelkins merged commit 0c99c20 into main Aug 12, 2026
45 checks passed
@jbelkins
jbelkins deleted the jbe/schema_based_document_prelude_fix branch August 12, 2026 15:03
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