mapstruct / mapstruct/mapstruct-idea

[Feature Request] Support for mapstruct-spi-protobuf

オープン
#106 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、IntelliJ plugin がマッピングされていないターゲットプロパティをどのように検出するかを調べ、mapstruct-spi-protobuf 統合を使用した場合のコンパイラーの動作と比較します。SPI によってマッピングが有効になる場合に、protobuf 生成クラスについて plugin が警告を報告しなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
developer-experience
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。