HoussemNasri commented on PR #2508:
URL: https://github.com/apache/james-project/pull/2508#issuecomment-2481398534

   The class `ExtractedContacts` is 
[immutable](https://www.baeldung.com/jackson-deserialize-immutable-objects) and 
does not offer any `@JsonCreator` annotated method or constructor neither it 
has a custom-made deserializer which makes it impossible to deserialize with 
Jackson. Converting it to a record makes it deserializable for some reason, I 
couldn't find any documentation of this special behavior for records through.


-- 
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: notifications-unsubscr...@james.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to