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

feat(http-client-csharp): encode int as string #4109

Closed
3 tasks done
Tracked by #4919
archerzz opened this issue Aug 7, 2024 · 0 comments
Closed
3 tasks done
Tracked by #4919

feat(http-client-csharp): encode int as string #4109

archerzz opened this issue Aug 7, 2024 · 0 comments
Assignees
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp

Comments

@archerzz
Copy link
Member

archerzz commented Aug 7, 2024

Clear and concise description of the problem

This is part of Azure/autorest.csharp#4919

As defined in Azure/typespec-azure#1179, we need to support @encode an int into string, like below:

model Foo {
  @encode(string)
  x: int
}

Checklist

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@archerzz archerzz added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label Aug 7, 2024
@archerzz archerzz self-assigned this Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp
Projects
None yet
Development

No branches or pull requests

1 participant