For #1, my concern is how to distinguish a missing relation from a null relation. I think it will be better to provide as much information as possible, for example, instead of returning a null, create an empty object and populate the id field into it so that by comparing the id field we know whether the relation has been changed. From auditor's perspective, it's good to know any change.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
For #1, my concern is how to distinguish a missing relation from a null relation. I think it will be better to provide as much information as possible, for example, instead of returning a null, create an empty object and populate the id field into it so that by comparing the id field we know whether the relation has been changed. From auditor's perspective, it's good to know any change.