You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @joheredi per typespec document, float is the base type of float32 and float64.
We did not handle this particular kind previously therefore it is emitted as object.
Since it is the base, from value's perspective, I think we should generate this type as double.
What do you think? @joheredi@m-nash
FYI we are doing the same for integer which is the base type of all integer types, and it is generated as long.
Describe the issue or request
When a spec has a
float
type it gets generated asobject
Describe your ideas for solutions
Maybe generate the max possible representation which would be
decimal
/cc: @m-nash
The text was updated successfully, but these errors were encountered: