Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET mailrepository/{repository}/mails/{id} should not return null fields when not asked in request #8

Open
chibenwa opened this issue Jul 19, 2018 · 0 comments

Comments

@chibenwa
Copy link
Contributor

See https://issues.apache.org/jira/browse/JAMES-2438

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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant