Allow to specify `named-values` **in addition** to `allowed-values` for `enum` types
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github-actions, kotlin
調査の方向性
No files or tests are named. Start by locating the enum handling and JAR binding-generation entry points, then trace how allowed-values become generated constants. Done means supporting named-values alongside allowed-values, including mixed named and unnamed entries, without duplicate generated names or compilation failures.
索引モデルが issue の本文から書いたものです。
説明
Currently we only generate constant values for enums from their content.
If you have quite long or awkward possible values like the terms of use URL of the setup-gradle action, the names are a bit unhandy.
Additionally, if you have an enum with values that calculate to the same name like
inputs:
some-enum:
type: enum
allowed-values:
- foo-bar
- foo_bar
which both evaluate to FooBar, you get a 500 internal server error as soon as you request the JAR, because a compile error will happen when trying to compile the bindings.
The latter could maybe also be solved by some logic to make the names unique,
but it could also be solved by this feature request which means, that you can give explicit names for enum values.
I think it makes sense to allow unnamed and named in the same element.
- 主要言語
- Kotlin
- スター
- 69
- フォーク
- 4
- 平均マージ
- 7日 3時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
typesafegithub/github-actions-typing のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
typesafegithub/github-actions-typing#205 · リアクション 1 件 ·
-
Add typing: pair オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
Dependency Dashboard オープン
難易度 1/5 1時間未満 初心者へのやさしさ 15/100
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
typesafegithub/github-actions-typing#17 · リアクション 1 件 ·
typesafegithub/github-actions-typing の issue をすべて見る
似ている issue
-
autoteam community team/use
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
android: AlbumArtistDetailViewModel keeps groupKeys of albums that disappeared in expandedAlbums オープンtask
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
aaif-goose/goose#12496 ·
-
Schema rejections are neither logged nor attributed, so the offending object cannot be identified オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
zotero/zotero-android#350 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
guardianproject/orbot-android#1832 ·