{"action":"created","issue":{"url":"https://api.github.com/repos/martijnwalraven/meteor-ios/issues/49","labels_url":"https://api.github.com/repos/martijnwalraven/meteor-ios/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/martijnwalraven/meteor-ios/issues/49/comments","events_url":"https://api.github.com/repos/martijnwalraven/meteor-ios/issues/49/events","html_url":"https://github.com/martijnwalraven/meteor-ios/issues/49","id":95894252,"number":49,"title":"Support for Numtel subscription payloads","user":{"login":"eeekari","id":13391301,"avatar_url":"https://avatars.githubusercontent.com/u/13391301?v=3","gravatar_id":"","url":"https://api.github.com/users/eeekari","html_url":"https://github.com/eeekari","followers_url":"https://api.github.com/users/eeekari/followers","following_url":"https://api.github.com/users/eeekari/following{/other_user}","gists_url":"https://api.github.com/users/eeekari/gists{/gist_id}","starred_url":"https://api.github.com/users/eeekari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeekari/subscriptions","organizations_url":"https://api.github.com/users/eeekari/orgs","repos_url":"https://api.github.com/users/eeekari/repos","events_url":"https://api.github.com/users/eeekari/events{/privacy}","received_events_url":"https://api.github.com/users/eeekari/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-19T07:24:27Z","updated_at":"2015-07-20T07:01:47Z","closed_at":null,"body":"Hi Martijn,\r\nI've been using your DDP Client for the past week and it's just awesome - thanks for putting it out.\r\nI'm currently using it in a project that requires a MySQL database in the back-end, so I've opted to use the popular Numtel package:\r\nhttps://github.com/numtel/meteor-mysql\r\n\r\nThis sends some additional JSON through prior (as well as in) subscription payloads. While this isn't an issue with the Client more than it is with the way the Numtel package sends subscription data, I am curious if you or someone else has used the DDP client without having to write a custom JSON serialiser to support this?\r\n\r\nCheers -\r\n"},"comment":{"url":"https://api.github.com/repos/martijnwalraven/meteor-ios/issues/comments/122782352","html_url":"https://github.com/martijnwalraven/meteor-ios/issues/49#issuecomment-122782352","issue_url":"https://api.github.com/repos/martijnwalraven/meteor-ios/issues/49","id":122782352,"user":{"login":"eeekari","id":13391301,"avatar_url":"https://avatars.githubusercontent.com/u/13391301?v=3","gravatar_id":"","url":"https://api.github.com/users/eeekari","html_url":"https://github.com/eeekari","followers_url":"https://api.github.com/users/eeekari/followers","following_url":"https://api.github.com/users/eeekari/following{/other_user}","gists_url":"https://api.github.com/users/eeekari/gists{/gist_id}","starred_url":"https://api.github.com/users/eeekari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeekari/subscriptions","organizations_url":"https://api.github.com/users/eeekari/orgs","repos_url":"https://api.github.com/users/eeekari/repos","events_url":"https://api.github.com/users/eeekari/events{/privacy}","received_events_url":"https://api.github.com/users/eeekari/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T07:01:47Z","updated_at":"2015-07-20T07:01:47Z","body":"Just to clarify, as I've realised my question was worded rather poorly:\r\n\r\nIn the standard subscription payload, the below JSON is received:\r\n<code>\r\n{\r\n    collection = lists;\r\n    fields =     {\r\n        incompleteCount = 1;\r\n        name = \"List O\";\r\n    };\r\n    id = MT5DnPfqsLZr9c2HS;\r\n    msg = added;\r\n}\r\n</code>\r\n\r\n\r\nFrom the Numtel package, this same JSON data would look like the below:\r\n\r\n<code>\r\n{\r\n    collection = lists;\r\n    fields =     {\r\n        diff =         (\r\n                        (\r\n                added,\r\n                                {\r\n                    incompleteCount = 1;\r\n                    name = \"List O\";\r\n                },\r\n                0\r\n            )\r\n        );\r\n    };\r\n    id = GfBiDhAkLE4PXuFmJ;\r\n    msg = added;\r\n}\r\n</code>\r\n\r\nAs far as I can tell, handling subscription data from Numtel would only require changing the EJSON parsing. I'd be curious if there is another way around this as my Objective-C skills are shockingly poor.\r\n\r\nCheers -"}}