Azure / typespec-azure

About TypeSpec Azure Libraries
https://azure.github.io/typespec-azure/
MIT License
11 stars 37 forks source link

Add `name` and `tspNamespace` to `SdkArrayType` #1000

Closed ArcturusZhang closed 3 months ago

ArcturusZhang commented 3 months ago

Fixes https://github.com/Azure/typespec-azure/issues/999

This PR adds name and namespace to SdkArrayType so that we could know if this array is an ordinary array, or an array created somewhere which needs special handling on the SDK generator side.

azure-sdk commented 3 months ago

All changed packages have been documented.

Show changes ### `@azure-tools/typespec-client-generator-core` - _feature_ [✏️](https://github.com/ArcturusZhang/typespec-azure/edit/add-name-and-namespace-to-array/.chronus/changes/add-name-and-namespace-to-array-2024-5-13-1-59-45.md?pr=/Azure/typespec-azure/pull/1000) > Add `name` and `tspNamespace` to `SdkArrayType`
azure-sdk commented 3 months ago

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/1000/

Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/1000/