Skip to content

fix(spanner): decode PROTO to custom type variant of base type#11007

Merged
harshachinta merged 1 commit intogoogleapis:mainfrom
harshachinta:support-proto-decode-for-basetype-variant
Oct 18, 2024
Merged

fix(spanner): decode PROTO to custom type variant of base type#11007
harshachinta merged 1 commit intogoogleapis:mainfrom
harshachinta:support-proto-decode-for-basetype-variant

Conversation

@harshachinta
Copy link
Copy Markdown
Contributor

@harshachinta harshachinta commented Oct 18, 2024

Fixes #10993

This PR supports decoding PROTO and ENUM types to a custom type whose variant is a base type.

var b []byte.            # basetype
var nb nullBytes.    # custom type

@harshachinta harshachinta requested review from a team October 18, 2024 10:56
@product-auto-label product-auto-label bot added the api: spanner Issues related to the Spanner API. label Oct 18, 2024
@harshachinta harshachinta merged commit 5e363a3 into googleapis:main Oct 18, 2024
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 Spanner API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spanner: PROTO can't be decoded into []byte-based defined type

2 participants