mapstruct / mapstruct/mapstruct-idea
[Feature Request] Support for mapstruct-spi-protobuf
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 168
- フォーク
- 41
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Protobuf is widely used in the industry and often we need to convert proto generated classes to/from POJOs (or models generated by Lombok/AutoValue/Immutables/YouNameIt).
While it would be awesome for MapStruct to provide out of the box integration with Protobuf like Lombok. Before that it seems that the next best choice is to use this SPI https://github.com/entur/mapstruct-spi-protobuf.
This SPI solves the compile time problem where MapStruct thinks there are unmapped target properties.
However the Idea plugin is not recognizing the SPI and still shows a warning. It would be super nice the plugin would match the complier's behaviour in that.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、IntelliJ plugin がマッピングされていないターゲットプロパティをどのように検出するかを調べ、mapstruct-spi-protobuf 統合を使用した場合のコンパイラーの動作と比較します。SPI によってマッピングが有効になる場合に、protobuf 生成クラスについて plugin が警告を報告しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- developer-experience
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100