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: Only override metadata for PartialResultSet when it is present in the response #7334

Merged
merged 1 commit into from
May 24, 2024

Conversation

saranshdhingra
Copy link
Contributor

@saranshdhingra saranshdhingra commented May 23, 2024

Inside the connection class's Serializer instance currently we are setting some fields inside the metadata key even when no metadata is returned in the response. This is causing a problem in the Result class.

This should fix that issue.

@saranshdhingra saranshdhingra marked this pull request as ready for review May 23, 2024 12:30
@saranshdhingra saranshdhingra requested review from a team as code owners May 23, 2024 12:30
Copy link
Contributor

@ajupazhamayil ajupazhamayil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, thank you, LGTM

@ajupazhamayil ajupazhamayil merged commit c2078a6 into main May 24, 2024
30 checks passed
@ajupazhamayil ajupazhamayil deleted the spanner-empty-metadata-fix branch May 24, 2024 10:12
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.

None yet

2 participants