Skip to content

Commit

Permalink
mapstruct#57 Add protobuf integration to FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
filiphr committed Jul 16, 2017
1 parent 3d63272 commit a609ff6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/faq/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,8 @@ compile('io.springfox:springfox-swagger2:${swagger2.version}') {
{{< /prettify >}}

{{% /faq_question %}}

{{% faq_question "How to map protobuf classes?" %}}
For MapStruct to work with protobuf generated classes one needs to use a custom `AccessorNamingStrategy`.
Have a look in [mapstruct/mapstruct-examples](https://github.com/mapstruct/mapstruct-examples) repository to see how to do it.
{{% /faq_question %}}

0 comments on commit a609ff6

Please sign in to comment.