lhotari commented on code in PR #19161:
URL: https://github.com/apache/pulsar/pull/19161#discussion_r1066794043
##########
pulsar-common/src/main/java/org/apache/pulsar/common/util/ObjectMapperFactory.java:
##########
@@ -109,7 +112,10 @@
@Slf4j
public class ObjectMapperFactory {
public static ObjectMapper create() {
- ObjectMapper mapper = new ObjectMapper();
+ ObjectMapper mapper = new ObjectMapper()
+ .registerModule(new ParameterNamesModule())
Review Comment:
The point of this is to allow using parameter names in your own Java classes
without any special config.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]