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: getRowAsStruct should always return a decoded struct #3278

Closed
wants to merge 1 commit into from

Conversation

olavloite
Copy link
Collaborator

getRowAsStruct could return a (partially) undecoded struct, which would have an internally mutable data structure. The returned row should however preferably be an immutable object. To achieve this, the struct should be guaranteed to be decoded before returning it to the caller.

@olavloite olavloite requested a review from a team as a code owner August 18, 2024 06:12
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. labels Aug 18, 2024
@olavloite
Copy link
Collaborator Author

Closing as this is not necessary once the changes in #3267 have been merged.

@olavloite olavloite closed this Aug 19, 2024
@olavloite olavloite deleted the to-struct-should-return-decoded-struct branch August 19, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant