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

[tcgc] support int as string encoding #1258

Merged
merged 9 commits into from
Aug 1, 2024
Merged

[tcgc] support int as string encoding #1258

merged 9 commits into from
Aug 1, 2024

Conversation

iscai-msft
Copy link
Contributor

@iscai-msft iscai-msft commented Jul 29, 2024

fixes #1177 , #1178

@azure-sdk
Copy link
Collaborator

azure-sdk commented Jul 29, 2024

All changed packages have been documented.

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

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

add support for encoding an int as a string

Copy link
Member

@lmazuel lmazuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I'm reading is that we would consider that @encode(string) is the same thing as @encode("string"), which makes sense for me, and simplify TCGC integration, so I'm good with it.

@iscai-msft iscai-msft added this pull request to the merge queue Aug 1, 2024
Merged via the queue into main with commit 8f005c0 Aug 1, 2024
20 of 22 checks passed
@iscai-msft iscai-msft deleted the allow_int_string branch August 1, 2024 16:23
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.

Encode int as string TCGC Author doc
5 participants