You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2018/06/25 02:10:00 UTC
[jira] [Commented] (JAMES-2438) GET
mailrepository/{repository}/mails/{id} should not return null fields when
not asked in request
[ https://issues.apache.org/jira/browse/JAMES-2438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16521770#comment-16521770 ]
Tellier Benoit commented on JAMES-2438:
---------------------------------------
Has commented on https://issues.apache.org/jira/browse/JAMES-2321 , you can have a look to https://stackoverflow.com/questions/13764280/how-do-i-exclude-fields-with-jackson-not-using-annotations for dynamically ignoring fields.
> GET mailrepository/{repository}/mails/{id} should not return null fields when not asked in request
> --------------------------------------------------------------------------------------------------
>
> Key: JAMES-2438
> URL: https://issues.apache.org/jira/browse/JAMES-2438
> Project: James Server
> Issue Type: Bug
> Reporter: Matthieu Baechler
> Priority: Major
>
> Webadmin endpoint to retrieve an email should include default fields and additionalFields required in input request but should not include null fields for additionalFields actually not computed on server.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org