mapstruct / mapstruct/mapstruct-idea
[Feature Request] Support for mapstruct-spi-protobuf
- Dominant language
- Java
- Stars
- 168
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by examining how the IntelliJ plugin detects unmapped target properties and compare that behavior with the compiler when using the mapstruct-spi-protobuf integration. Done means the plugin no longer reports a warning for protobuf-generated classes when the SPI makes the mapping valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100