{"action":"created","issue":{"url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/277","labels_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/277/comments","events_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/277/events","html_url":"https://github.com/aldeed/meteor-collection2/issues/277","id":115659540,"number":277,"title":"AutoValue from adjacent fields, not present in the update","user":{"login":"Pushplaybang","id":1330359,"avatar_url":"https://avatars.githubusercontent.com/u/1330359?v=3","gravatar_id":"","url":"https://api.github.com/users/Pushplaybang","html_url":"https://github.com/Pushplaybang","followers_url":"https://api.github.com/users/Pushplaybang/followers","following_url":"https://api.github.com/users/Pushplaybang/following{/other_user}","gists_url":"https://api.github.com/users/Pushplaybang/gists{/gist_id}","starred_url":"https://api.github.com/users/Pushplaybang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pushplaybang/subscriptions","organizations_url":"https://api.github.com/users/Pushplaybang/orgs","repos_url":"https://api.github.com/users/Pushplaybang/repos","events_url":"https://api.github.com/users/Pushplaybang/events{/privacy}","received_events_url":"https://api.github.com/users/Pushplaybang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-07T11:17:06Z","updated_at":"2015-12-13T19:11:18Z","closed_at":"2015-12-08T04:14:08Z","body":"Hi There\r\n\r\nIs it at all possible to get adjacent fields values in an autovalue function that are not present in the update.\r\n\r\nI have a `stats` object in my schema that counts up votes, down votes, favourites, comments etc and i'd like to run these through a weight calculation each time the doc is updated, (updatedAt is also being set with an autoValue field).\r\n\r\ndo these have to be passed through from the client with the update?"},"comment":{"url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/comments/164288524","html_url":"https://github.com/aldeed/meteor-collection2/issues/277#issuecomment-164288524","issue_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/277","id":164288524,"user":{"login":"Pushplaybang","id":1330359,"avatar_url":"https://avatars.githubusercontent.com/u/1330359?v=3","gravatar_id":"","url":"https://api.github.com/users/Pushplaybang","html_url":"https://github.com/Pushplaybang","followers_url":"https://api.github.com/users/Pushplaybang/followers","following_url":"https://api.github.com/users/Pushplaybang/following{/other_user}","gists_url":"https://api.github.com/users/Pushplaybang/gists{/gist_id}","starred_url":"https://api.github.com/users/Pushplaybang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pushplaybang/subscriptions","organizations_url":"https://api.github.com/users/Pushplaybang/orgs","repos_url":"https://api.github.com/users/Pushplaybang/repos","events_url":"https://api.github.com/users/Pushplaybang/events{/privacy}","received_events_url":"https://api.github.com/users/Pushplaybang/received_events","type":"User","site_admin":false},"created_at":"2015-12-13T19:11:18Z","updated_at":"2015-12-13T19:11:18Z","body":"thanks, this is what I'd expected."}}