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: attribute iteration extends past last defined attribute #123

Merged
merged 16 commits into from
Aug 27, 2024

Conversation

jayantk
Copy link
Contributor

@jayantk jayantk commented Aug 16, 2024

The key/value attributes in the product account don't get overwritten when the attributes array is shrunk. Instead, we set a size field in the account. The SDK is ignoring the size field when reading out the attributes, which means it can return junk key/value pairs in some cases.

@jayantk jayantk merged commit c34d010 into main Aug 27, 2024
7 checks passed
@jayantk jayantk deleted the attribute_iter_fix branch August 27, 2024 13:45
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