Skip to content

sparse trait codegen for nested collections#3756

Merged
kai-ion merged 2 commits intomainfrom
nullObj
Mar 23, 2026
Merged

sparse trait codegen for nested collections#3756
kai-ion merged 2 commits intomainfrom
nullObj

Conversation

@kai-ion
Copy link
Contributor

@kai-ion kai-ion commented Mar 20, 2026

Issue #, if available:

Description of changes:
The previous sparse trait PR (#3740) handled sparse at the leaf level
(direct push_back of scalar values)
Updated the codegen to handle cases where a sparse
list or map appears as a nested collection (recursionDepth > 1).

Check all that applies:

  • Did a review by yourself.
  • Added proper tests to cover this PR. (If tests are not applicable, explain.)
  • Checked if this PR is a breaking (APIs have been changed) change.
  • Checked if this PR will not introduce cross-platform inconsistent behavior.
  • Checked if this PR would require a ReadMe/Wiki update.

Check which platforms you have built SDK on to verify the correctness of this PR.

  • Linux
  • Windows
  • Android
  • MacOS
  • IOS
  • Other Platforms

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

@kai-ion kai-ion merged commit cd93e74 into main Mar 23, 2026
6 checks passed
pulimsr added a commit that referenced this pull request Mar 23, 2026
aws-sdk-cpp-automation pushed a commit that referenced this pull request Mar 23, 2026
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.

3 participants