Skip to content

Migrate Storage Blobs to TypeSpec #44834

@lmazuel

Description

@lmazuel

Goal

Update the Storage Blobs package to use TypeSpec instead of autorest

Principles

  • This is primarily an exercise to migrate the tool chain. This is NOT an exercise to
    • Improve the convenience layer to latest guidelines
    • Ask for new complex features in TypeSpec in order to remove already written manual convenience layer. For instance, paging in Storage couldn't be generated with autorest and was manually written. We don't plan to make TypeSpec support Storage paging out of the box, we'll just keep for now the convenience layer that exists. Easy TypeSpec update can be considered, as long as this doesn't impact the timeline in an unhealthy way.
  • As this is an internal toolchain update, there should be no reason to update tests or re-record tests. It's actually a great regression testing to confirm that we're able to change the internal layers of Storage, without having to touch the test folder at all
  • No breaking changes are allowed (APIView shouldn't even realize there was a change)

Spec

We owned this branch, and should push all tspconfig and client.tsp updates directly there (no review needed yet):
https://github.com/Azure/azure-rest-api-specs/tree/feature/blob-tsp-xlang/specification/storage/Microsoft.BlobStorage

tsplocation should target this branch for now

Reference

More details and update on the loop page

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions