eclipse-vertx / eclipse-vertx/vertx-codegen
For dataobject type, provide a method telling whether object has empty parameter constructor?
- 主要言語
- Java
- スター
- 111
- フォーク
- 89
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi:
For current dataobject type, the minimum requirement is to provide json constructor
but there is no way for generator to know whether empty constructor is supported
It could be useful since for most dataobject, empty parameters constructor bring us convenience
If we generate all dataobject with empty constructor, the test will fail
since there is DataObjectWithOnlyJsonObjectConstructor and could not mapped to any constructor
Hope it helps
コントリビューションガイド
調査の方向性
まず dataobject 型のメタデータと、どのコンストラクターをマッピングできるかを決定するジェネレーターのロジックを読みます。DataObjectWithOnlyJsonObjectConstructor を失敗ケースとして使用し、関連するテストを追跡します。型が引数なしコンストラクターをサポートしているかどうかを公開し、生成処理がそのようなコンストラクターの存在を前提としなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100