Skip to content

chore(core/protocols): fix for XML shape deser #7160

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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.

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.

1 participant