{"action":"closed","number":46,"pull_request":{"url":"https://api.github.com/repos/1amageek/Pring/pulls/46","id":214829337,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0ODI5MzM3","html_url":"https://github.com/1amageek/Pring/pull/46","diff_url":"https://github.com/1amageek/Pring/pull/46.diff","patch_url":"https://github.com/1amageek/Pring/pull/46.patch","issue_url":"https://api.github.com/repos/1amageek/Pring/issues/46","number":46,"state":"closed","locked":false,"title":"Override isEqual() for Object.","user":{"login":"lm2343635","id":9463655,"node_id":"MDQ6VXNlcjk0NjM2NTU=","avatar_url":"https://avatars0.githubusercontent.com/u/9463655?v=4","gravatar_id":"","url":"https://api.github.com/users/lm2343635","html_url":"https://github.com/lm2343635","followers_url":"https://api.github.com/users/lm2343635/followers","following_url":"https://api.github.com/users/lm2343635/following{/other_user}","gists_url":"https://api.github.com/users/lm2343635/gists{/gist_id}","starred_url":"https://api.github.com/users/lm2343635/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lm2343635/subscriptions","organizations_url":"https://api.github.com/users/lm2343635/orgs","repos_url":"https://api.github.com/users/lm2343635/repos","events_url":"https://api.github.com/users/lm2343635/events{/privacy}","received_events_url":"https://api.github.com/users/lm2343635/received_events","type":"User","site_admin":false},"body":"Hi, 1amageek.\r\nWhen I use the contains method of Array, I found it does not work because your Object extends from NSObject.\r\n```Swift \r\nclass User: Object {\r\n    dynamic var name: String = \"\"\r\n}\r\nusers.contains(user)\r\n```\r\nTo solve this issue, I tries to override the isEqual() method for Object and the contains() method works well.","created_at":"2018-09-12T04:00:53Z","updated_at":"2018-09-12T04:18:01Z","closed_at":"2018-09-12T04:18:01Z","merged_at":"2018-09-12T04:18:01Z","merge_commit_sha":"49abfbacee6d29f76a7db7fab47dd03999e0629d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/1amageek/Pring/pulls/46/commits","review_comments_url":"https://api.github.com/repos/1amageek/Pring/pulls/46/comments","review_comment_url":"https://api.github.com/repos/1amageek/Pring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/1amageek/Pring/issues/46/comments","statuses_url":"https://api.github.com/repos/1amageek/Pring/statuses/784f9aca8e6ef9395219b6ffdf692e0937a7f571","head":{"label":"lm2343635:master","ref":"master","sha":"784f9aca8e6ef9395219b6ffdf692e0937a7f571","user":{"login":"lm2343635","id":9463655,"node_id":"MDQ6VXNlcjk0NjM2NTU=","avatar_url":"https://avatars0.githubusercontent.com/u/9463655?v=4","gravatar_id":"","url":"https://api.github.com/users/lm2343635","html_url":"https://github.com/lm2343635","followers_url":"https://api.github.com/users/lm2343635/followers","following_url":"https://api.github.com/users/lm2343635/following{/other_user}","gists_url":"https://api.github.com/users/lm2343635/gists{/gist_id}","starred_url":"https://api.github.com/users/lm2343635/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lm2343635/subscriptions","organizations_url":"https://api.github.com/users/lm2343635/orgs","repos_url":"https://api.github.com/users/lm2343635/repos","events_url":"https://api.github.com/users/lm2343635/events{/privacy}","received_events_url":"https://api.github.com/users/lm2343635/received_events","type":"User","site_admin":false},"repo":{"id":148418795,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg0MTg3OTU=","name":"Pring","full_name":"lm2343635/Pring","owner":{"login":"lm2343635","id":9463655,"node_id":"MDQ6VXNlcjk0NjM2NTU=","avatar_url":"https://avatars0.githubusercontent.com/u/9463655?v=4","gravatar_id":"","url":"https://api.github.com/users/lm2343635","html_url":"https://github.com/lm2343635","followers_url":"https://api.github.com/users/lm2343635/followers","following_url":"https://api.github.com/users/lm2343635/following{/other_user}","gists_url":"https://api.github.com/users/lm2343635/gists{/gist_id}","starred_url":"https://api.github.com/users/lm2343635/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lm2343635/subscriptions","organizations_url":"https://api.github.com/users/lm2343635/orgs","repos_url":"https://api.github.com/users/lm2343635/repos","events_url":"https://api.github.com/users/lm2343635/events{/privacy}","received_events_url":"https://api.github.com/users/lm2343635/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lm2343635/Pring","description":"Cloud Firestore model framework for iOS - Google","fork":true,"url":"https://api.github.com/repos/lm2343635/Pring","forks_url":"https://api.github.com/repos/lm2343635/Pring/forks","keys_url":"https://api.github.com/repos/lm2343635/Pring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lm2343635/Pring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lm2343635/Pring/teams","hooks_url":"https://api.github.com/repos/lm2343635/Pring/hooks","issue_events_url":"https://api.github.com/repos/lm2343635/Pring/issues/events{/number}","events_url":"https://api.github.com/repos/lm2343635/Pring/events","assignees_url":"https://api.github.com/repos/lm2343635/Pring/assignees{/user}","branches_url":"https://api.github.com/repos/lm2343635/Pring/branches{/branch}","tags_url":"https://api.github.com/repos/lm2343635/Pring/tags","blobs_url":"https://api.github.com/repos/lm2343635/Pring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lm2343635/Pring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lm2343635/Pring/git/refs{/sha}","trees_url":"https://api.github.com/repos/lm2343635/Pring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lm2343635/Pring/statuses/{sha}","languages_url":"https://api.github.com/repos/lm2343635/Pring/languages","stargazers_url":"https://api.github.com/repos/lm2343635/Pring/stargazers","contributors_url":"https://api.github.com/repos/lm2343635/Pring/contributors","subscribers_url":"https://api.github.com/repos/lm2343635/Pring/subscribers","subscription_url":"https://api.github.com/repos/lm2343635/Pring/subscription","commits_url":"https://api.github.com/repos/lm2343635/Pring/commits{/sha}","git_commits_url":"https://api.github.com/repos/lm2343635/Pring/git/commits{/sha}","comments_url":"https://api.github.com/repos/lm2343635/Pring/comments{/number}","issue_comment_url":"https://api.github.com/repos/lm2343635/Pring/issues/comments{/number}","contents_url":"https://api.github.com/repos/lm2343635/Pring/contents/{+path}","compare_url":"https://api.github.com/repos/lm2343635/Pring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lm2343635/Pring/merges","archive_url":"https://api.github.com/repos/lm2343635/Pring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lm2343635/Pring/downloads","issues_url":"https://api.github.com/repos/lm2343635/Pring/issues{/number}","pulls_url":"https://api.github.com/repos/lm2343635/Pring/pulls{/number}","milestones_url":"https://api.github.com/repos/lm2343635/Pring/milestones{/number}","notifications_url":"https://api.github.com/repos/lm2343635/Pring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lm2343635/Pring/labels{/name}","releases_url":"https://api.github.com/repos/lm2343635/Pring/releases{/id}","deployments_url":"https://api.github.com/repos/lm2343635/Pring/deployments","created_at":"2018-09-12T03:54:30Z","updated_at":"2018-09-12T03:55:53Z","pushed_at":"2018-09-12T03:55:51Z","git_url":"git://github.com/lm2343635/Pring.git","ssh_url":"git@github.com:lm2343635/Pring.git","clone_url":"https://github.com/lm2343635/Pring.git","svn_url":"https://github.com/lm2343635/Pring","homepage":"https://firebase.google.com/docs/firestore/","size":1291,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"1amageek:master","ref":"master","sha":"c5a95ef6fe7cf42dfd5a2fb4f9afb992f89de5af","user":{"login":"1amageek","id":11146538,"node_id":"MDQ6VXNlcjExMTQ2NTM4","avatar_url":"https://avatars2.githubusercontent.com/u/11146538?v=4","gravatar_id":"","url":"https://api.github.com/users/1amageek","html_url":"https://github.com/1amageek","followers_url":"https://api.github.com/users/1amageek/followers","following_url":"https://api.github.com/users/1amageek/following{/other_user}","gists_url":"https://api.github.com/users/1amageek/gists{/gist_id}","starred_url":"https://api.github.com/users/1amageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1amageek/subscriptions","organizations_url":"https://api.github.com/users/1amageek/orgs","repos_url":"https://api.github.com/users/1amageek/repos","events_url":"https://api.github.com/users/1amageek/events{/privacy}","received_events_url":"https://api.github.com/users/1amageek/received_events","type":"User","site_admin":false},"repo":{"id":106388342,"node_id":"MDEwOlJlcG9zaXRvcnkxMDYzODgzNDI=","name":"Pring","full_name":"1amageek/Pring","owner":{"login":"1amageek","id":11146538,"node_id":"MDQ6VXNlcjExMTQ2NTM4","avatar_url":"https://avatars2.githubusercontent.com/u/11146538?v=4","gravatar_id":"","url":"https://api.github.com/users/1amageek","html_url":"https://github.com/1amageek","followers_url":"https://api.github.com/users/1amageek/followers","following_url":"https://api.github.com/users/1amageek/following{/other_user}","gists_url":"https://api.github.com/users/1amageek/gists{/gist_id}","starred_url":"https://api.github.com/users/1amageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1amageek/subscriptions","organizations_url":"https://api.github.com/users/1amageek/orgs","repos_url":"https://api.github.com/users/1amageek/repos","events_url":"https://api.github.com/users/1amageek/events{/privacy}","received_events_url":"https://api.github.com/users/1amageek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/1amageek/Pring","description":"Cloud Firestore model framework for iOS - Google","fork":false,"url":"https://api.github.com/repos/1amageek/Pring","forks_url":"https://api.github.com/repos/1amageek/Pring/forks","keys_url":"https://api.github.com/repos/1amageek/Pring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1amageek/Pring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1amageek/Pring/teams","hooks_url":"https://api.github.com/repos/1amageek/Pring/hooks","issue_events_url":"https://api.github.com/repos/1amageek/Pring/issues/events{/number}","events_url":"https://api.github.com/repos/1amageek/Pring/events","assignees_url":"https://api.github.com/repos/1amageek/Pring/assignees{/user}","branches_url":"https://api.github.com/repos/1amageek/Pring/branches{/branch}","tags_url":"https://api.github.com/repos/1amageek/Pring/tags","blobs_url":"https://api.github.com/repos/1amageek/Pring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1amageek/Pring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1amageek/Pring/git/refs{/sha}","trees_url":"https://api.github.com/repos/1amageek/Pring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1amageek/Pring/statuses/{sha}","languages_url":"https://api.github.com/repos/1amageek/Pring/languages","stargazers_url":"https://api.github.com/repos/1amageek/Pring/stargazers","contributors_url":"https://api.github.com/repos/1amageek/Pring/contributors","subscribers_url":"https://api.github.com/repos/1amageek/Pring/subscribers","subscription_url":"https://api.github.com/repos/1amageek/Pring/subscription","commits_url":"https://api.github.com/repos/1amageek/Pring/commits{/sha}","git_commits_url":"https://api.github.com/repos/1amageek/Pring/git/commits{/sha}","comments_url":"https://api.github.com/repos/1amageek/Pring/comments{/number}","issue_comment_url":"https://api.github.com/repos/1amageek/Pring/issues/comments{/number}","contents_url":"https://api.github.com/repos/1amageek/Pring/contents/{+path}","compare_url":"https://api.github.com/repos/1amageek/Pring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1amageek/Pring/merges","archive_url":"https://api.github.com/repos/1amageek/Pring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1amageek/Pring/downloads","issues_url":"https://api.github.com/repos/1amageek/Pring/issues{/number}","pulls_url":"https://api.github.com/repos/1amageek/Pring/pulls{/number}","milestones_url":"https://api.github.com/repos/1amageek/Pring/milestones{/number}","notifications_url":"https://api.github.com/repos/1amageek/Pring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1amageek/Pring/labels{/name}","releases_url":"https://api.github.com/repos/1amageek/Pring/releases{/id}","deployments_url":"https://api.github.com/repos/1amageek/Pring/deployments","created_at":"2017-10-10T08:16:27Z","updated_at":"2018-09-07T11:24:35Z","pushed_at":"2018-09-12T04:18:01Z","git_url":"git://github.com/1amageek/Pring.git","ssh_url":"git@github.com:1amageek/Pring.git","clone_url":"https://github.com/1amageek/Pring.git","svn_url":"https://github.com/1amageek/Pring","homepage":"https://firebase.google.com/docs/firestore/","size":1291,"stargazers_count":173,"watchers_count":173,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":16,"open_issues":6,"watchers":173,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/1amageek/Pring/pulls/46"},"html":{"href":"https://github.com/1amageek/Pring/pull/46"},"issue":{"href":"https://api.github.com/repos/1amageek/Pring/issues/46"},"comments":{"href":"https://api.github.com/repos/1amageek/Pring/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/1amageek/Pring/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/1amageek/Pring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/1amageek/Pring/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/1amageek/Pring/statuses/784f9aca8e6ef9395219b6ffdf692e0937a7f571"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"1amageek","id":11146538,"node_id":"MDQ6VXNlcjExMTQ2NTM4","avatar_url":"https://avatars2.githubusercontent.com/u/11146538?v=4","gravatar_id":"","url":"https://api.github.com/users/1amageek","html_url":"https://github.com/1amageek","followers_url":"https://api.github.com/users/1amageek/followers","following_url":"https://api.github.com/users/1amageek/following{/other_user}","gists_url":"https://api.github.com/users/1amageek/gists{/gist_id}","starred_url":"https://api.github.com/users/1amageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1amageek/subscriptions","organizations_url":"https://api.github.com/users/1amageek/orgs","repos_url":"https://api.github.com/users/1amageek/repos","events_url":"https://api.github.com/users/1amageek/events{/privacy}","received_events_url":"https://api.github.com/users/1amageek/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":8,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"1amageek"}}