Skip to content

blob/azureblob: eliminate Azure Autorest dependency and replace usage#3672

Merged
vangent merged 1 commit intogoogle:masterfrom
gaganhr94:fix/remove-azure-autorest
Mar 16, 2026
Merged

blob/azureblob: eliminate Azure Autorest dependency and replace usage#3672
vangent merged 1 commit intogoogle:masterfrom
gaganhr94:fix/remove-azure-autorest

Conversation

@gaganhr94
Copy link
Contributor

Fixes #3671

github.com/Azure/go-autorest was archived in Feb 2025 with support ended since Mar 2023. The only sub-package used was autorest/to, which provided nil-safe pointer dereference helpers.

Replace it with a local generic ptrVal function that provides the same behavior for all pointer types using Go generics.

Why not azcore/to ?
The modern Azure SDK's azcore/to package only provides Ptr (value → pointer) and SliceOfPtrs. It does not include a reverse helper (pointer → value), so a local function is necessary.

@google-cla
Copy link

google-cla bot commented Mar 16, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gaganhr94 gaganhr94 force-pushed the fix/remove-azure-autorest branch 2 times, most recently from 5dadd4b to e7d96be Compare March 16, 2026 10:40
… with ptrVal function

Signed-off-by: Gagan H R <hrgagan4@gmail.com>
@gaganhr94 gaganhr94 force-pushed the fix/remove-azure-autorest branch from e7d96be to 705ba6f Compare March 16, 2026 10:42
@vangent vangent merged commit d09597f into google:master Mar 16, 2026
5 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.

blob/azureblob: Remove github.com/Azure/go-autorest archived dependency

2 participants