microsoft / microsoft/typespec
Designate an int enum as "Flags"
- 主要言語
- Java
- スター
- 5.9k
- フォーク
- 394
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 104
説明
[Some languages have decorators](https://learn.microsoft.com/en-us/dotnet/api/system.flagsattribute?view=net-7.0) that can add functionality to enums that are meant to be a set of bit fields. Will [CADL enums](https://microsoft.github.io/cadl/docs/language-basics/enums/) support a decorator for enums so that language generators can take advantage of this?
コントリビューションガイド
調査の方向性
Start with the linked CADL enums documentation and the referenced FlagsAttribute behavior. Determine how enum decorators are represented and how language generators consume them. Done means the issue's intended decorator support and generator-facing semantics are specified and consistently supported.
索引モデルが issue の本文から書いたものです。
評価
- 領域
- compilers
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100