Skip to content

Conversation

@hongalex
Copy link
Member

@hongalex hongalex commented May 23, 2023

Fix a bug that prevents clearing of topic schema because a zero valued SchemaSetting was being passed rather than a nil value one.

In addition, fix a bug with the fake that makes setting the schema_settings field mask mean changing the entire SchemaSetting, rather than just accounting for clearing. This makes it consistent with https://google.aip.dev/161#specifying-specific-fields

Fixes #7979

@hongalex hongalex requested review from a team and shollyman as code owners May 23, 2023 19:51
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: pubsub Issues related to the Pub/Sub API. labels May 23, 2023
@saurav1991
Copy link

Can this please be merged and released as its impacting our production workflows?

@hongalex hongalex merged commit 46fc060 into googleapis:main May 24, 2023
@hongalex hongalex deleted the fix-clear-schema branch May 24, 2023 16:33
@hongalex
Copy link
Member Author

@saurav1991 Thanks for your patience, released in pubsub 1.31.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsub Issues related to the Pub/Sub API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pubsub: Unable to update or clear SchemaSettings

3 participants