Skip to content

fix: Remove dependency on dart:io#56

Merged
brianquinlan merged 6 commits intogoogleapis:mainfrom
brianquinlan:no_io
Oct 27, 2025
Merged

fix: Remove dependency on dart:io#56
brianquinlan merged 6 commits intogoogleapis:mainfrom
brianquinlan:no_io

Conversation

@brianquinlan
Copy link
Copy Markdown
Contributor

@brianquinlan brianquinlan commented Oct 24, 2025

Paired with googleapis/librarian#2672

The non-generated changes are to the .sidekick.toml files and to _gax.

Fixes #55

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 successfully removes the direct dependency on dart:io for web clients by using conditional exports, which is a great improvement for web compatibility. The implementation looks correct. However, I've found a couple of issues with the documentation for the new httpClientFromApiKey function. In the VM implementation, there's a minor typo. More importantly, in the web implementation, the documentation is copied from the VM version and is misleading because it mentions environment variables, which are not supported on the web. I've left specific comments with suggestions to fix these documentation issues.

brianquinlan added a commit to googleapis/librarian that referenced this pull request Oct 27, 2025
@brianquinlan brianquinlan merged commit 07f9fd6 into googleapis:main Oct 27, 2025
11 of 12 checks passed
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.

Depending on google_cloud_ai_generativelanguage_v1beta disables support for the web

2 participants