microsoft / microsoft/typespec
[lint] Validate array encode
Open
compiler:core
mq
triaged:core
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
We should ensure the `ArrayEncoding` used in `@encode` could only be decorated on model property of array type, and the array element type should be limited to primitive type.
Contributor guide
Assessment
This issue has not been assessed yet.