microsoft / microsoft/typespec
Switch records to classes
Open
emitter:client:csharp
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
There are some usability issues that come into play with records. For instance, if a record has a primary constructor, the constructor parameter needs pascal cased parameters (as these define the properties), but the explicit constructors use camelCase. It can then be easy to miss the constructor overloads especially when explicitly naming the argument.
Contributor guide
Assessment
This issue has not been assessed yet.