{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/5645","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/5645/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/5645/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/5645/events","html_url":"https://github.com/meteor/meteor/issues/5645","id":116213568,"number":5645,"title":"Optionally disable merge box in Meteor for publish functions","user":{"login":"mitar","id":585279,"avatar_url":"https://avatars.githubusercontent.com/u/585279?v=3","gravatar_id":"","url":"https://api.github.com/users/mitar","html_url":"https://github.com/mitar","followers_url":"https://api.github.com/users/mitar/followers","following_url":"https://api.github.com/users/mitar/following{/other_user}","gists_url":"https://api.github.com/users/mitar/gists{/gist_id}","starred_url":"https://api.github.com/users/mitar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitar/subscriptions","organizations_url":"https://api.github.com/users/mitar/orgs","repos_url":"https://api.github.com/users/mitar/repos","events_url":"https://api.github.com/users/mitar/events{/privacy}","received_events_url":"https://api.github.com/users/mitar/received_events","type":"User","site_admin":false},"labels":[{"id":11613361,"url":"https://api.github.com/repos/meteor/meteor/labels/feature","name":"feature","color":"02d7e1","default":false},{"id":164717521,"url":"https://api.github.com/repos/meteor/meteor/labels/Project:DDP","name":"Project:DDP","color":"c7def8","default":false},{"id":371713273,"url":"https://api.github.com/repos/meteor/meteor/labels/Severity:has-workaround","name":"Severity:has-workaround","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2015-11-10T22:08:36Z","updated_at":"2016-10-29T19:28:39Z","closed_at":null,"body":"***2 Upvotes*** [This segment](https://youtu.be/783BL__zIjY?t=1056) is a great example why sometimes it would be beneficial for some publish functions to disable merge box. So currently for publish functions there is a trade-off. Do you want to minimize data send over the wire (then you have to remember what each client has) or do you want to minimize data stored on the server (then you have to send the whole change every time and leave it to the client side to resolve the diff).\r\n\r\nI think it would be great if this would be officially supported in Meteor. I think it can be easily done without much changes needed. Simply every `added`, `changed`, `removed` would be send as-is directly to the client or clients. No diffing, no computation, no memory storage.\r\n\r\nI think this would better align with a broader Meteor ecosystem than current hack of using [meteor-streams](https://arunoda.github.io/meteor-streams/) (which are sending two DDP messages, `added` and `removed` to get merge box to forget the content).\r\n\r\ncc @rodrigok"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/257111082","html_url":"https://github.com/meteor/meteor/issues/5645#issuecomment-257111082","issue_url":"https://api.github.com/repos/meteor/meteor/issues/5645","id":257111082,"user":{"login":"mitar","id":585279,"avatar_url":"https://avatars.githubusercontent.com/u/585279?v=3","gravatar_id":"","url":"https://api.github.com/users/mitar","html_url":"https://github.com/mitar","followers_url":"https://api.github.com/users/mitar/followers","following_url":"https://api.github.com/users/mitar/following{/other_user}","gists_url":"https://api.github.com/users/mitar/gists{/gist_id}","starred_url":"https://api.github.com/users/mitar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitar/subscriptions","organizations_url":"https://api.github.com/users/mitar/orgs","repos_url":"https://api.github.com/users/mitar/repos","events_url":"https://api.github.com/users/mitar/events{/privacy}","received_events_url":"https://api.github.com/users/mitar/received_events","type":"User","site_admin":false},"created_at":"2016-10-29T19:28:39Z","updated_at":"2016-10-29T19:28:39Z","body":"I think it is already hard to reason about semantics when merge box is disabeld. So I think such low level per-added call would make it even harder to reason."}}
{"actor":{"display_login":"mitar"}}