microsoft / microsoft/typespec
Consider moving eliding of properties of type `never` lower
Open
design:needed
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
1. Should we move the skipping of properties of type `never` into `MetadataInfo.isPayloadProperty`?
~2. [Yes] Should we also elide metadata properties (header, query, etc.) of type `never`?~
https://github.com/microsoft/cadl/pull/1127/files#r988024779
EDIT: Or should we go even farther and move this into the core, for example by having the checker drop the properties altogether?
Contributor guide
Assessment
This issue has not been assessed yet.