Azure / typespec-azure

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

Add `BaseModel` or `BaseType` to `SdkArrayType` #1014

Closed ArcturusZhang closed 4 weeks ago

ArcturusZhang commented 1 month ago

Because this is a valid syntax:

model MyArray extends MyArrayInternal {}

model MyArrayInternal is Array<int32>;

maybe it is needed that we add a BaseModel or BaseType to SdkArrayType.

This is not a hard requirement of anything, just thinking about the completeness of TCGC's model.

ArcturusZhang commented 1 month ago

Related https://github.com/Azure/typespec-azure/issues/1020

iscai-msft commented 4 weeks ago

closing in favor of https://github.com/Azure/typespec-azure/issues/1020