Skip to content

Commit

Permalink
fix: prevent descension into map types in nested message parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
miraleung committed Oct 30, 2020
1 parent ff8cd7e commit 733cce0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ private static Map<String, Message> parseMessages(
}
}
String pakkage = TypeParser.getPackage(messageDescriptor.getFile());
List<String> fieldNames =
messageDescriptor.getFields().stream().map(f -> f.getName()).collect(Collectors.toList());
messages.put(
messageName,
Message.builder()
Expand Down

0 comments on commit 733cce0

Please sign in to comment.