From a609ff6ebbeb4baf569c33972fef75d42591b23b Mon Sep 17 00:00:00 2001 From: Filip Hrisafov Date: Sun, 16 Jul 2017 12:19:46 +0200 Subject: [PATCH] #57 Add protobuf integration to FAQ --- content/faq/_index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/faq/_index.md b/content/faq/_index.md index 7ee0ff558..862518f15 100644 --- a/content/faq/_index.md +++ b/content/faq/_index.md @@ -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 %}}