Skip to content

Fix resolve class members in lists#4525

Merged
bjorn merged 2 commits into
masterfrom
fix-resolve-members-in-lists
May 22, 2026
Merged

Fix resolve class members in lists#4525
bjorn merged 2 commits into
masterfrom
fix-resolve-members-in-lists

Conversation

@bjorn
Copy link
Copy Markdown
Member

@bjorn bjorn commented May 21, 2026

The ExportHelper forgot to recurse into list values.

exportValueToJson does its own recursion through the value tree, so it
needs the context to be in NoRecursion mode. Add a comment explaining
why it does not just use TypedListValues (the property types JSON
format spells the key "propertyType" where TypedListValues would emit
"propertytype") and a matching assertion.

Also tweaked some comments in MapToVariantConverter.
@bjorn bjorn changed the title Fix resolve members in lists Fix resolve class members in lists May 21, 2026
The ExportHelper forgot to recurse into list values.
@bjorn bjorn force-pushed the fix-resolve-members-in-lists branch from bb60d24 to ddcf36b Compare May 22, 2026 23:13
@bjorn bjorn merged commit c676301 into master May 22, 2026
11 of 15 checks passed
@bjorn bjorn deleted the fix-resolve-members-in-lists branch May 22, 2026 23:14
bjorn added a commit that referenced this pull request May 22, 2026
The ExportHelper forgot to recurse into list values.

Also documented exportValueToJson's NoRecursion precondition
and tweaked some comments in MapToVariantConverter.

(cherry picked from commit c676301)
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