Skip to content

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Jun 27, 2025

fix for schema XML deser

@kuhe kuhe requested a review from a team as a code owner June 27, 2025 20:05
if (ns.isListSchema() && !Array.isArray(value)) {
// single item in what should have been a list.
return this.readSchema(schema, [value]);
return this.readSchema(ns, [value]);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the change: pass NormalizedSchema instead of a raw schema object to the recursive call.

Passing a raw Schema loses the member context.

@kuhe kuhe force-pushed the fix/xml-protocol branch from ca5f80e to b764a9c Compare July 15, 2025 15:00
@kuhe kuhe merged commit 7061230 into aws:main Jul 15, 2025
4 checks passed
@kuhe kuhe deleted the fix/xml-protocol branch July 15, 2025 22:49
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants