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