Proposal: add fetchFooProperties for CalendarEvent and Contact list methods

14 views
Skip to first unread message

Robert Stepanek

unread,
Jul 20, 2016, 2:25:44 AM7/20/16
to JMAP
Hi,

I propose to add fetchCalendarEventProperties and fetchContactProperties to the getCalendarEventList and getContactList methods. Currently, these methods do not specify which properties should be fetched, if their fetchFoo property is set.

This might cause unnecessary computation on the server and waste network resources if clients just want to retrieve a small subset of properties for search results. In addition, it is inconsistent with the getMessageList command (fetchMessageProperties), and the getCalendarEventUpdates and getContactUpdates commands (fetchRecordProperties).
 I'll be happy to submit a pull request.

Cheers,
Robert

Neil Jenkins

unread,
Jul 20, 2016, 2:28:43 AM7/20/16
to JMAP Mailing List
On Wed, 20 Jul 2016, at 04:25 PM, Robert Stepanek wrote:
I propose to add fetchCalendarEventProperties and fetchContactProperties to the getCalendarEventList and getContactList methods.
 
Seems reasonable to me. I'll keep an eye out for the pull request.
 
Neil.
Reply all
Reply to author
Forward
0 new messages