-
Notifications
You must be signed in to change notification settings - Fork 214
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 support for encoding numeric types as string #4020
Add support for encoding numeric types as string #4020
Conversation
All changed packages have been documented.
|
You can try these changes here
|
@@ -134,3 +134,41 @@ model User { | |||
</td> | |||
</tr> | |||
</table> | |||
|
|||
## Numeric types ( `int64`, `decimal128`, `float64`, etc.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a plan to add linter rule to warn that some safe numeric is marked as encode string e.g int16, or safeint?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point filed na issue for an azure linter Azure/typespec-azure#1277
fix #3856