microsoft / microsoft/typespec

Consider moving eliding of properties of type `never` lower

Open
#1,128 7 comments 0 reactions 0 assignees View on GitHub
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

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.