Azure / typespec-azure

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

Remove the `tspnamespace` added to some of the types #1073

Closed ArcturusZhang closed 3 months ago

ArcturusZhang commented 3 months ago

We previously add the tspNamespace to identify exactly where this type was defined in the typespec file. But actually we are mislooking that there is already a property on model and enum to show that - the crossLanguageDefinitionId. The downstream generator could use this value to know which typespec file the type is defined, which nullifies the purpose we add tspNamespace.

We might need to remove the tspNamespace property.