{"action":"opened","number":3389,"pull_request":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/3389","id":101960541,"html_url":"https://github.com/ParsePlatform/parse-server/pull/3389","diff_url":"https://github.com/ParsePlatform/parse-server/pull/3389.diff","patch_url":"https://github.com/ParsePlatform/parse-server/pull/3389.patch","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/3389","number":3389,"state":"open","locked":false,"title":"Mongo object to Parse object date serialization - avoid nested ios","user":{"login":"nodechefMatt","id":25186593,"avatar_url":"https://avatars.githubusercontent.com/u/25186593?v=3","gravatar_id":"","url":"https://api.github.com/users/nodechefMatt","html_url":"https://github.com/nodechefMatt","followers_url":"https://api.github.com/users/nodechefMatt/followers","following_url":"https://api.github.com/users/nodechefMatt/following{/other_user}","gists_url":"https://api.github.com/users/nodechefMatt/gists{/gist_id}","starred_url":"https://api.github.com/users/nodechefMatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodechefMatt/subscriptions","organizations_url":"https://api.github.com/users/nodechefMatt/orgs","repos_url":"https://api.github.com/users/nodechefMatt/repos","events_url":"https://api.github.com/users/nodechefMatt/events{/privacy}","received_events_url":"https://api.github.com/users/nodechefMatt/received_events","type":"User","site_admin":false},"body":"If a date object stored in the database is serialized as in \r\n{ \r\n   __type : \"Date\",  \r\n   iso : ISODate(\"\") \r\n} \r\n\r\ninstead of \r\n\r\n{\r\n    __type : \"Date\",\r\n    iso : \"Date as string\" \r\n}\r\n\r\nThe returned Parse object is invalid and has the below structure:\r\n\r\n{\r\n   __type : \"Date\", \r\n   iso : {\r\n       __type : \"Date\", \r\n      iso : \"Date as string\r\n    }\r\n}\r\n\r\nThis PR should correct this.","created_at":"2017-01-17T22:28:19Z","updated_at":"2017-01-17T22:28:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/3389/commits","review_comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/3389/comments","review_comment_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/3389/comments","statuses_url":"https://api.github.com/repos/ParsePlatform/parse-server/statuses/4496359eabf027977d44a6f7e371de59113606a6","head":{"label":"nodechefMatt:parseObjectFromMongoDateTransformation","ref":"parseObjectFromMongoDateTransformation","sha":"4496359eabf027977d44a6f7e371de59113606a6","user":{"login":"nodechefMatt","id":25186593,"avatar_url":"https://avatars.githubusercontent.com/u/25186593?v=3","gravatar_id":"","url":"https://api.github.com/users/nodechefMatt","html_url":"https://github.com/nodechefMatt","followers_url":"https://api.github.com/users/nodechefMatt/followers","following_url":"https://api.github.com/users/nodechefMatt/following{/other_user}","gists_url":"https://api.github.com/users/nodechefMatt/gists{/gist_id}","starred_url":"https://api.github.com/users/nodechefMatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodechefMatt/subscriptions","organizations_url":"https://api.github.com/users/nodechefMatt/orgs","repos_url":"https://api.github.com/users/nodechefMatt/repos","events_url":"https://api.github.com/users/nodechefMatt/events{/privacy}","received_events_url":"https://api.github.com/users/nodechefMatt/received_events","type":"User","site_admin":false},"repo":{"id":79276125,"name":"parse-server","full_name":"nodechefMatt/parse-server","owner":{"login":"nodechefMatt","id":25186593,"avatar_url":"https://avatars.githubusercontent.com/u/25186593?v=3","gravatar_id":"","url":"https://api.github.com/users/nodechefMatt","html_url":"https://github.com/nodechefMatt","followers_url":"https://api.github.com/users/nodechefMatt/followers","following_url":"https://api.github.com/users/nodechefMatt/following{/other_user}","gists_url":"https://api.github.com/users/nodechefMatt/gists{/gist_id}","starred_url":"https://api.github.com/users/nodechefMatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodechefMatt/subscriptions","organizations_url":"https://api.github.com/users/nodechefMatt/orgs","repos_url":"https://api.github.com/users/nodechefMatt/repos","events_url":"https://api.github.com/users/nodechefMatt/events{/privacy}","received_events_url":"https://api.github.com/users/nodechefMatt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nodechefMatt/parse-server","description":"Parse-compatible API server module for Node/Express","fork":true,"url":"https://api.github.com/repos/nodechefMatt/parse-server","forks_url":"https://api.github.com/repos/nodechefMatt/parse-server/forks","keys_url":"https://api.github.com/repos/nodechefMatt/parse-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodechefMatt/parse-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodechefMatt/parse-server/teams","hooks_url":"https://api.github.com/repos/nodechefMatt/parse-server/hooks","issue_events_url":"https://api.github.com/repos/nodechefMatt/parse-server/issues/events{/number}","events_url":"https://api.github.com/repos/nodechefMatt/parse-server/events","assignees_url":"https://api.github.com/repos/nodechefMatt/parse-server/assignees{/user}","branches_url":"https://api.github.com/repos/nodechefMatt/parse-server/branches{/branch}","tags_url":"https://api.github.com/repos/nodechefMatt/parse-server/tags","blobs_url":"https://api.github.com/repos/nodechefMatt/parse-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodechefMatt/parse-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodechefMatt/parse-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodechefMatt/parse-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodechefMatt/parse-server/statuses/{sha}","languages_url":"https://api.github.com/repos/nodechefMatt/parse-server/languages","stargazers_url":"https://api.github.com/repos/nodechefMatt/parse-server/stargazers","contributors_url":"https://api.github.com/repos/nodechefMatt/parse-server/contributors","subscribers_url":"https://api.github.com/repos/nodechefMatt/parse-server/subscribers","subscription_url":"https://api.github.com/repos/nodechefMatt/parse-server/subscription","commits_url":"https://api.github.com/repos/nodechefMatt/parse-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodechefMatt/parse-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodechefMatt/parse-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodechefMatt/parse-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodechefMatt/parse-server/contents/{+path}","compare_url":"https://api.github.com/repos/nodechefMatt/parse-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodechefMatt/parse-server/merges","archive_url":"https://api.github.com/repos/nodechefMatt/parse-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodechefMatt/parse-server/downloads","issues_url":"https://api.github.com/repos/nodechefMatt/parse-server/issues{/number}","pulls_url":"https://api.github.com/repos/nodechefMatt/parse-server/pulls{/number}","milestones_url":"https://api.github.com/repos/nodechefMatt/parse-server/milestones{/number}","notifications_url":"https://api.github.com/repos/nodechefMatt/parse-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodechefMatt/parse-server/labels{/name}","releases_url":"https://api.github.com/repos/nodechefMatt/parse-server/releases{/id}","deployments_url":"https://api.github.com/repos/nodechefMatt/parse-server/deployments","created_at":"2017-01-17T21:57:50Z","updated_at":"2017-01-17T21:57:54Z","pushed_at":"2017-01-17T22:20:40Z","git_url":"git://github.com/nodechefMatt/parse-server.git","ssh_url":"git@github.com:nodechefMatt/parse-server.git","clone_url":"https://github.com/nodechefMatt/parse-server.git","svn_url":"https://github.com/nodechefMatt/parse-server","homepage":"https://parse.com","size":3553,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ParsePlatform:master","ref":"master","sha":"de4c1ee41817c01ebd475463f2079b75f89d77e8","user":{"login":"ParsePlatform","id":1294580,"avatar_url":"https://avatars.githubusercontent.com/u/1294580?v=3","gravatar_id":"","url":"https://api.github.com/users/ParsePlatform","html_url":"https://github.com/ParsePlatform","followers_url":"https://api.github.com/users/ParsePlatform/followers","following_url":"https://api.github.com/users/ParsePlatform/following{/other_user}","gists_url":"https://api.github.com/users/ParsePlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/ParsePlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParsePlatform/subscriptions","organizations_url":"https://api.github.com/users/ParsePlatform/orgs","repos_url":"https://api.github.com/users/ParsePlatform/repos","events_url":"https://api.github.com/users/ParsePlatform/events{/privacy}","received_events_url":"https://api.github.com/users/ParsePlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":50603846,"name":"parse-server","full_name":"ParsePlatform/parse-server","owner":{"login":"ParsePlatform","id":1294580,"avatar_url":"https://avatars.githubusercontent.com/u/1294580?v=3","gravatar_id":"","url":"https://api.github.com/users/ParsePlatform","html_url":"https://github.com/ParsePlatform","followers_url":"https://api.github.com/users/ParsePlatform/followers","following_url":"https://api.github.com/users/ParsePlatform/following{/other_user}","gists_url":"https://api.github.com/users/ParsePlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/ParsePlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParsePlatform/subscriptions","organizations_url":"https://api.github.com/users/ParsePlatform/orgs","repos_url":"https://api.github.com/users/ParsePlatform/repos","events_url":"https://api.github.com/users/ParsePlatform/events{/privacy}","received_events_url":"https://api.github.com/users/ParsePlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ParsePlatform/parse-server","description":"Parse-compatible API server module for Node/Express","fork":false,"url":"https://api.github.com/repos/ParsePlatform/parse-server","forks_url":"https://api.github.com/repos/ParsePlatform/parse-server/forks","keys_url":"https://api.github.com/repos/ParsePlatform/parse-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ParsePlatform/parse-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ParsePlatform/parse-server/teams","hooks_url":"https://api.github.com/repos/ParsePlatform/parse-server/hooks","issue_events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/events{/number}","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/events","assignees_url":"https://api.github.com/repos/ParsePlatform/parse-server/assignees{/user}","branches_url":"https://api.github.com/repos/ParsePlatform/parse-server/branches{/branch}","tags_url":"https://api.github.com/repos/ParsePlatform/parse-server/tags","blobs_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ParsePlatform/parse-server/statuses/{sha}","languages_url":"https://api.github.com/repos/ParsePlatform/parse-server/languages","stargazers_url":"https://api.github.com/repos/ParsePlatform/parse-server/stargazers","contributors_url":"https://api.github.com/repos/ParsePlatform/parse-server/contributors","subscribers_url":"https://api.github.com/repos/ParsePlatform/parse-server/subscribers","subscription_url":"https://api.github.com/repos/ParsePlatform/parse-server/subscription","commits_url":"https://api.github.com/repos/ParsePlatform/parse-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/ParsePlatform/parse-server/contents/{+path}","compare_url":"https://api.github.com/repos/ParsePlatform/parse-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ParsePlatform/parse-server/merges","archive_url":"https://api.github.com/repos/ParsePlatform/parse-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ParsePlatform/parse-server/downloads","issues_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues{/number}","pulls_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls{/number}","milestones_url":"https://api.github.com/repos/ParsePlatform/parse-server/milestones{/number}","notifications_url":"https://api.github.com/repos/ParsePlatform/parse-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/labels{/name}","releases_url":"https://api.github.com/repos/ParsePlatform/parse-server/releases{/id}","deployments_url":"https://api.github.com/repos/ParsePlatform/parse-server/deployments","created_at":"2016-01-28T18:29:14Z","updated_at":"2017-01-17T22:28:14Z","pushed_at":"2017-01-16T21:47:52Z","git_url":"git://github.com/ParsePlatform/parse-server.git","ssh_url":"git@github.com:ParsePlatform/parse-server.git","clone_url":"https://github.com/ParsePlatform/parse-server.git","svn_url":"https://github.com/ParsePlatform/parse-server","homepage":"https://parse.com","size":3553,"stargazers_count":12377,"watchers_count":12377,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3373,"mirror_url":null,"open_issues_count":153,"forks":3373,"open_issues":153,"watchers":12377,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/3389"},"html":{"href":"https://github.com/ParsePlatform/parse-server/pull/3389"},"issue":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/issues/3389"},"comments":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/issues/3389/comments"},"review_comments":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/3389/comments"},"review_comment":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/3389/commits"},"statuses":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/statuses/4496359eabf027977d44a6f7e371de59113606a6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":5,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"nodechefMatt"}}