Skip to content
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

fix: correctly codegen paginators for items in sparse lists #1072

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

ianbotsf
Copy link
Contributor

Issue #

No direct issue but related to awslabs/aws-sdk-kotlin#900 and #1064

Description of changes

The recent codegen change to generate paginators for resource operations uncovered a previously-unknown bug: responses that contain items in a sparse list were being generated as Flow<Item> (non-nullable) instead of Flow<Item?> (nullable). This change fixes that and adds a new test.

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

@ianbotsf ianbotsf requested a review from a team as a code owner April 18, 2024 20:29
@ianbotsf ianbotsf merged commit 516da06 into main Apr 18, 2024
13 checks passed
@ianbotsf ianbotsf deleted the fix-sparse-item-paginators branch April 18, 2024 22:02
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