microsoft / microsoft/typespec

[lint] Validate array encode

Open
#9,134 2 comments 0 reactions 1 assignee Claimed by @witemple-msft View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.