Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support for mapstruct-spi-protobuf #106

Open
91wzhang opened this issue Jul 14, 2022 · 0 comments
Open

[Feature Request] Support for mapstruct-spi-protobuf #106

91wzhang opened this issue Jul 14, 2022 · 0 comments

Comments

@91wzhang
Copy link

91wzhang commented Jul 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant