Open nguerrera opened 1 year ago
I think yes to both.
Beat me to it :) I think the answer to both is "yes" and "yes", though we can definitely discuss it in a design meeting.
OK, I agree. This is ready to discuss and hopefully just a quick approval. :)
Leaving this as design we should also consider if it makes sense to go even lower into the core.
Moving forward, need a proposal on whether to provide this functionality in helpers, or in the compiler
never
intoMetadataInfo.isPayloadProperty
? ~2. [Yes] Should we also elide metadata properties (header, query, etc.) of typenever
?~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?