{"action":"created","issue":{"url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/266","labels_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/266/comments","events_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/266/events","html_url":"https://github.com/aldeed/meteor-collection2/issues/266","id":110387956,"number":266,"title":"Allow client only values","user":{"login":"darkship","id":3523710,"avatar_url":"https://avatars.githubusercontent.com/u/3523710?v=3","gravatar_id":"","url":"https://api.github.com/users/darkship","html_url":"https://github.com/darkship","followers_url":"https://api.github.com/users/darkship/followers","following_url":"https://api.github.com/users/darkship/following{/other_user}","gists_url":"https://api.github.com/users/darkship/gists{/gist_id}","starred_url":"https://api.github.com/users/darkship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkship/subscriptions","organizations_url":"https://api.github.com/users/darkship/orgs","repos_url":"https://api.github.com/users/darkship/repos","events_url":"https://api.github.com/users/darkship/events{/privacy}","received_events_url":"https://api.github.com/users/darkship/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-08T07:22:46Z","updated_at":"2015-12-08T07:32:14Z","closed_at":null,"body":"I'm trying to do this : https://github.com/darkship/test_localised_schemas.js (with \"filter\"=true or false)\r\n\r\nCould it be possible to get a clientOnly option so that we can insert/update values only on client ?\r\n(This reminds me of https://github.com/aldeed/meteor-collection2/issues/8) "},"comment":{"url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/comments/162800430","html_url":"https://github.com/aldeed/meteor-collection2/issues/266#issuecomment-162800430","issue_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/266","id":162800430,"user":{"login":"darkship","id":3523710,"avatar_url":"https://avatars.githubusercontent.com/u/3523710?v=3","gravatar_id":"","url":"https://api.github.com/users/darkship","html_url":"https://github.com/darkship","followers_url":"https://api.github.com/users/darkship/followers","following_url":"https://api.github.com/users/darkship/following{/other_user}","gists_url":"https://api.github.com/users/darkship/gists{/gist_id}","starred_url":"https://api.github.com/users/darkship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkship/subscriptions","organizations_url":"https://api.github.com/users/darkship/orgs","repos_url":"https://api.github.com/users/darkship/repos","events_url":"https://api.github.com/users/darkship/events{/privacy}","received_events_url":"https://api.github.com/users/darkship/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T07:32:14Z","updated_at":"2015-12-08T07:32:14Z","body":"I'm not sure if it would actually work or if I see it in the wrong way:\r\n\r\nOn client, when my collection is synced with the server, every fields will be send to the server. But sometime I want that some fields only exists on the client.\r\nIf you try to update a field that is not defined on the server it will be removed by collection2.\r\n\r\nUntil now, I used <code>new Mongo.Collection(null)</code> and <code>transform</code> to combine a synced collection with an unsynced client only collection.\r\n"}}