adamsaghy commented on code in PR #6069:
URL: https://github.com/apache/fineract/pull/6069#discussion_r3631002679


##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/jersey/JerseyJacksonObjectArgumentHandler.java:
##########
@@ -68,9 +73,27 @@ public T readFrom(Class<T> type, Type genericType, 
Annotation[] annotations, jak
             return type.cast(json);
         } else {
             // Create the proper type from the JSON
-            HttpHeaders headers = new HttpHeaders();
-            headers.putAll(httpHeaders);
-            return (T) converter.read(genericType, type, new 
MappingJacksonInputMessage(entityStream, headers));

Review Comment:
   Is this handling the same way as `MappingJackson2HttpMessageConverter` was 
doing? Are we sure the incoming and outgoing messages are matching?



-- 
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]

Reply via email to