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

Add name and tspNamespace to SdkArrayType #1000

Merged

Conversation

ArcturusZhang
Copy link
Member

@ArcturusZhang ArcturusZhang commented Jun 13, 2024

Fixes #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
Copy link
Collaborator

azure-sdk commented Jun 13, 2024

All changed packages have been documented.

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

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

Add name and tspNamespace to SdkArrayType

@azure-sdk
Copy link
Collaborator

@ArcturusZhang ArcturusZhang force-pushed the add-name-and-namespace-to-array branch from 0506f30 to ca6a8a0 Compare June 15, 2024 09:52
@ArcturusZhang ArcturusZhang changed the title Add name and namespace to SdkArrayType Add name and tspNamespace to SdkArrayType Jun 18, 2024
…9-45.md

Co-authored-by: Haoling Dong <87355844+haolingdong-msft@users.noreply.github.com>
@ArcturusZhang ArcturusZhang added this pull request to the merge queue Jun 18, 2024
Merged via the queue into Azure:main with commit 0a349d2 Jun 18, 2024
21 checks passed
@ArcturusZhang ArcturusZhang deleted the add-name-and-namespace-to-array branch June 18, 2024 08:36
markcowl pushed a commit to markcowl/typespec-azure that referenced this pull request Jun 26, 2024
Fixes Azure#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.

---------

Co-authored-by: Haoling Dong <87355844+haolingdong-msft@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib:tcgc Issues for @azure-tools/typespec-client-generator-core library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SdkArrayType needs a name and namespace to represent the cases like Azure.Core.EmbeddingVector
5 participants