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: Replace internal Structs class with google-cloud-core version #1501

Merged
merged 3 commits into from Jan 9, 2024

Conversation

cindy-peng
Copy link
Contributor

@cindy-peng cindy-peng commented Jan 5, 2024

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #1492 ☕️

The new common structs mapper utility in google cloud core including has been released yesterday in 3.21.0:
googleapis/sdk-platform-java#2290
googleapis/sdk-platform-java#2278

This is to replace the internal structs usage with the upstream version.

@cindy-peng cindy-peng requested review from a team as code owners January 5, 2024 19:20
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: logging Issues related to the googleapis/java-logging API. labels Jan 5, 2024
@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Jan 5, 2024
@cindy-peng cindy-peng self-assigned this Jan 5, 2024
@cindy-peng cindy-peng requested a review from kolea2 January 5, 2024 19:50
* This class contains static utility methods that operate on or return protobuf's {@code Struct}
* objects.
*/
final class Structs {
Copy link
Contributor

Choose a reason for hiding this comment

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

Just to be sure: this isn't public since it's missing the public modifier, right?

Copy link
Contributor

@daniel-sanche daniel-sanche left a comment

Choose a reason for hiding this comment

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

LGTM, assuming no public API changes

@cindy-peng cindy-peng merged commit 21e1929 into main Jan 9, 2024
22 checks passed
@cindy-peng cindy-peng deleted the cindy/update-core-structs branch January 9, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: logging Issues related to the googleapis/java-logging API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace internal Structs class with google-cloud-core version
3 participants