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.
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 - thecrossLanguageDefinitionId
. The downstream generator could use this value to know which typespec file the type is defined, which nullifies the purpose we addtspNamespace
.We might need to remove the
tspNamespace
property.