Skip to content

feat: update using null-safety generator change#69

Merged
devoncarew merged 5 commits intogoogleapis:mainfrom
devoncarew:null_safety_2
Oct 31, 2025
Merged

feat: update using null-safety generator change#69
devoncarew merged 5 commits intogoogleapis:mainfrom
devoncarew:null_safety_2

Conversation

@devoncarew
Copy link
Copy Markdown
Contributor

Update the packages here using the null-safety generator change:

Previously as a draft at #58; done as separate commits to make review a little easier.

@brianquinlan, this does not include sidekick / dart package version changes. I assume we'll want to bump everything (to 0.2.0?). Not sure if we're bumping on changes or on publish (or don't have a specific process yet).

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates several packages for null-safety, which is a great improvement for code robustness. The changes mostly involve removing unnecessary null-check operators (!) on properties that are now non-nullable, which is correct. However, I've found a few instances in the example code where a risky null assertion (!) has been introduced on a nullable property. This could lead to runtime exceptions and makes the examples less robust. I've left specific comments with suggestions to fix this.

@brianquinlan
Copy link
Copy Markdown
Contributor

@brianquinlan, this does not include sidekick / dart package version changes. I assume we'll want to bump everything (to 0.2.0?). Not sure if we're bumping on changes or on publish (or don't have a specific process yet).

Could you please remove the version declarations in all of the .sidekick.toml files except the one in the root? And then change the "#Generated packages" section to all be 0.2.0?

Or just land this and I'll do that in a follow-up PR.

@devoncarew
Copy link
Copy Markdown
Contributor Author

Could you please remove the version declarations in all of the .sidekick.toml files except the one in the root? And then change the "#Generated packages" section to all be 0.2.0?

Done!

@devoncarew devoncarew merged commit ed4cd8e into googleapis:main Oct 31, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants