{"action":"opened","issue":{"url":"https://api.github.com/repos/msavin/Mongol/issues/16","labels_url":"https://api.github.com/repos/msavin/Mongol/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/msavin/Mongol/issues/16/comments","events_url":"https://api.github.com/repos/msavin/Mongol/issues/16/events","html_url":"https://github.com/msavin/Mongol/issues/16","id":58737524,"number":16,"title":"Duplicating Documents which have been wrapped with additional methods...","user":{"login":"DanielDornhardt","id":3845924,"avatar_url":"https://avatars.githubusercontent.com/u/3845924?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielDornhardt","html_url":"https://github.com/DanielDornhardt","followers_url":"https://api.github.com/users/DanielDornhardt/followers","following_url":"https://api.github.com/users/DanielDornhardt/following{/other_user}","gists_url":"https://api.github.com/users/DanielDornhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielDornhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielDornhardt/subscriptions","organizations_url":"https://api.github.com/users/DanielDornhardt/orgs","repos_url":"https://api.github.com/users/DanielDornhardt/repos","events_url":"https://api.github.com/users/DanielDornhardt/events{/privacy}","received_events_url":"https://api.github.com/users/DanielDornhardt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-24T13:24:45Z","updated_at":"2015-02-24T13:24:45Z","closed_at":null,"body":"seems to lead to an error.\r\n\r\nThe issue seems to be that the \"duplicate\" - code runs through all the objects' properties as returned by Collection.find() . But unfortunately I wrap those with a class and additional methods using meteors' \"transform\" - function.\r\n\r\nAs I don't see the functions and additional data fields added by the constructor in the json for updating the documents via mongol I think that there might be another way / maybe a way to skip the transform-function?\r\n\r\nBest wishes\r\n\r\nDaniel"}}