Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace tspNamespace with crossLanguageDefinitionId in enum, model, union and array types #1075

Conversation

ArcturusZhang
Copy link
Member

@ArcturusZhang ArcturusZhang commented Jun 25, 2024

Fixes #1073

Per offline discussion, crossLanguageDefinitionId is actually a much better candidate of telling people the originate of this type, therefore this should solve all of our requirement and we no longer need a tspNamespace anymore.

@microsoft-github-policy-service microsoft-github-policy-service bot added the lib:tcgc Issues for @azure-tools/typespec-client-generator-core library label Jun 25, 2024
@azure-sdk
Copy link
Collaborator

azure-sdk commented Jun 25, 2024

All changed packages have been documented.

  • @azure-tools/typespec-client-generator-core
Show changes

@azure-tools/typespec-client-generator-core - feature ✏️

Replace tspNamespace with crossLanguageDefinitionId.,> - Remove tspNamespace in SdkEnumType, SdkModelType, SdkUnionType, SdkArrayType.,> - Add crossLanguageDefinitionId to SdkUnionType and SdkArrayType.

@azure-sdk
Copy link
Collaborator

@tadelesh tadelesh removed the lib:tcgc Issues for @azure-tools/typespec-client-generator-core library label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove the tspnamespace added to some of the types
4 participants