HoussemNasri opened a new pull request, #2508:
URL: https://github.com/apache/james-project/pull/2508

   ## Why?
   
   In https://github.com/linagora/tmail-backend/pull/1308, calling 
`ObjectMapper#readValue` and casting the result to ExtractedContacts results in 
the following error: 
`com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot 
construct instance of 
org.apache.james.transport.mailets.ContactExtractor$ExtractedContacts`. 
   
   Changing it to a record resolves the issue.
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to