eclipse-vertx / eclipse-vertx/vertx-codegen
Support CharSequence under (at least) Scala and RxJava
- 主要言語
- Java
- スター
- 111
- フォーク
- 88
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Currently the CharSequence methods in HttpServerResponse are marked @GenIgnore. This makes it awkward to use the `io.vertx.core.http.HttpHeaders` constants, which are `CharSequences`, with the generated versions (e.g., `io.vertx.reactivex`).
`CharSequence` should be supported by Java, Scala, Groovy, Kotlin, Ceylon, and anything else on the JVM. It seems a shame to limit those, not to mention the various Java APIs, simply because there's no `CharSequence` in JavaScript or Ruby. If anything, it would make more sense to _only_ have the `CharSequence` methods, since a `String` is also a `CharSequence`, and convert them to strings in the non-JVM code generators.
(See discussion in eclipse/vert.x#2211.)
コントリビューションガイド
調査の方向性
HttpServerResponse の CharSequence メソッドと HttpHeaders の CharSequence 定数から始め、生成された io.vertx.reactivex API と eclipse/vert.x#2211 の議論を確認します。完了の条件は、CharSequence が Scala などの JVM ジェネレーターでサポートされ、非 JVM ジェネレーターでは適切に変換され、現在の @GenIgnore による制限がないことです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, scala
- 領域
- developer-experience, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100