{"action":"created","comment":{"url":"https://api.github.com/repos/rentzsch/mogenerator/pulls/comments/28017719","id":28017719,"diff_hunk":"@@ -79,7 +79,7 @@ class _<$managedObjectClassName$>: <$customSuperentity$> {\n <$foreach Relationship noninheritedRelationships do$>\n <$if Relationship.isToMany$>\n     @NSManaged\n-    var <$Relationship.name$>: <$Relationship.immutableCollectionClassName$>\n+    var <$Relationship.name$>: Set<<$Relationship.destinationEntity.managedObjectClassName$>>","path":"templates/machine.swift.motemplate","position":5,"original_position":5,"commit_id":"643579c3381db98d3ed2317f06bd49cdf33548d5","original_commit_id":"643579c3381db98d3ed2317f06bd49cdf33548d5","user":{"login":"kballard","id":714,"avatar_url":"https://avatars.githubusercontent.com/u/714?v=3","gravatar_id":"","url":"https://api.github.com/users/kballard","html_url":"https://github.com/kballard","followers_url":"https://api.github.com/users/kballard/followers","following_url":"https://api.github.com/users/kballard/following{/other_user}","gists_url":"https://api.github.com/users/kballard/gists{/gist_id}","starred_url":"https://api.github.com/users/kballard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kballard/subscriptions","organizations_url":"https://api.github.com/users/kballard/orgs","repos_url":"https://api.github.com/users/kballard/repos","events_url":"https://api.github.com/users/kballard/events{/privacy}","received_events_url":"https://api.github.com/users/kballard/received_events","type":"User","site_admin":false},"body":"Surely this is only correct for non-ordered relationships.","created_at":"2015-04-08T21:54:20Z","updated_at":"2015-04-08T21:54:20Z","html_url":"https://github.com/rentzsch/mogenerator/pull/267#discussion_r28017719","pull_request_url":"https://api.github.com/repos/rentzsch/mogenerator/pulls/267","_links":{"self":{"href":"https://api.github.com/repos/rentzsch/mogenerator/pulls/comments/28017719"},"html":{"href":"https://github.com/rentzsch/mogenerator/pull/267#discussion_r28017719"},"pull_request":{"href":"https://api.github.com/repos/rentzsch/mogenerator/pulls/267"}}},"pull_request":{"url":"https://api.github.com/repos/rentzsch/mogenerator/pulls/267","id":29005521,"html_url":"https://github.com/rentzsch/mogenerator/pull/267","diff_url":"https://github.com/rentzsch/mogenerator/pull/267.diff","patch_url":"https://github.com/rentzsch/mogenerator/pull/267.patch","issue_url":"https://api.github.com/repos/rentzsch/mogenerator/issues/267","number":267,"state":"open","locked":false,"title":"Swift 1.2 support","user":{"login":"depl0y","id":111713,"avatar_url":"https://avatars.githubusercontent.com/u/111713?v=3","gravatar_id":"","url":"https://api.github.com/users/depl0y","html_url":"https://github.com/depl0y","followers_url":"https://api.github.com/users/depl0y/followers","following_url":"https://api.github.com/users/depl0y/following{/other_user}","gists_url":"https://api.github.com/users/depl0y/gists{/gist_id}","starred_url":"https://api.github.com/users/depl0y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depl0y/subscriptions","organizations_url":"https://api.github.com/users/depl0y/orgs","repos_url":"https://api.github.com/users/depl0y/repos","events_url":"https://api.github.com/users/depl0y/events{/privacy}","received_events_url":"https://api.github.com/users/depl0y/received_events","type":"User","site_admin":false},"body":"Adjusted the Swift template to support Swift v1.2.\r\n\r\nReplaced NSSet with Set<<$Relationship.destinationEntity.managedObjectClassName$>>.\r\n\r\n**Not sure this is the way you want this solved, but I just updated the template, but there is no support for Swift versions before 1.2 now.**","created_at":"2015-02-10T13:10:40Z","updated_at":"2015-04-08T21:54:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"55081411ead6a44bcf65ab6e736387be82ec19da","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rentzsch/mogenerator/pulls/267/commits","review_comments_url":"https://api.github.com/repos/rentzsch/mogenerator/pulls/267/comments","review_comment_url":"https://api.github.com/repos/rentzsch/mogenerator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rentzsch/mogenerator/issues/267/comments","statuses_url":"https://api.github.com/repos/rentzsch/mogenerator/statuses/643579c3381db98d3ed2317f06bd49cdf33548d5","head":{"label":"depl0y:master","ref":"master","sha":"643579c3381db98d3ed2317f06bd49cdf33548d5","user":{"login":"depl0y","id":111713,"avatar_url":"https://avatars.githubusercontent.com/u/111713?v=3","gravatar_id":"","url":"https://api.github.com/users/depl0y","html_url":"https://github.com/depl0y","followers_url":"https://api.github.com/users/depl0y/followers","following_url":"https://api.github.com/users/depl0y/following{/other_user}","gists_url":"https://api.github.com/users/depl0y/gists{/gist_id}","starred_url":"https://api.github.com/users/depl0y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depl0y/subscriptions","organizations_url":"https://api.github.com/users/depl0y/orgs","repos_url":"https://api.github.com/users/depl0y/repos","events_url":"https://api.github.com/users/depl0y/events{/privacy}","received_events_url":"https://api.github.com/users/depl0y/received_events","type":"User","site_admin":false},"repo":{"id":30582804,"name":"mogenerator","full_name":"depl0y/mogenerator","owner":{"login":"depl0y","id":111713,"avatar_url":"https://avatars.githubusercontent.com/u/111713?v=3","gravatar_id":"","url":"https://api.github.com/users/depl0y","html_url":"https://github.com/depl0y","followers_url":"https://api.github.com/users/depl0y/followers","following_url":"https://api.github.com/users/depl0y/following{/other_user}","gists_url":"https://api.github.com/users/depl0y/gists{/gist_id}","starred_url":"https://api.github.com/users/depl0y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depl0y/subscriptions","organizations_url":"https://api.github.com/users/depl0y/orgs","repos_url":"https://api.github.com/users/depl0y/repos","events_url":"https://api.github.com/users/depl0y/events{/privacy}","received_events_url":"https://api.github.com/users/depl0y/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/depl0y/mogenerator","description":"Core Data code generation","fork":true,"url":"https://api.github.com/repos/depl0y/mogenerator","forks_url":"https://api.github.com/repos/depl0y/mogenerator/forks","keys_url":"https://api.github.com/repos/depl0y/mogenerator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/depl0y/mogenerator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/depl0y/mogenerator/teams","hooks_url":"https://api.github.com/repos/depl0y/mogenerator/hooks","issue_events_url":"https://api.github.com/repos/depl0y/mogenerator/issues/events{/number}","events_url":"https://api.github.com/repos/depl0y/mogenerator/events","assignees_url":"https://api.github.com/repos/depl0y/mogenerator/assignees{/user}","branches_url":"https://api.github.com/repos/depl0y/mogenerator/branches{/branch}","tags_url":"https://api.github.com/repos/depl0y/mogenerator/tags","blobs_url":"https://api.github.com/repos/depl0y/mogenerator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/depl0y/mogenerator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/depl0y/mogenerator/git/refs{/sha}","trees_url":"https://api.github.com/repos/depl0y/mogenerator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/depl0y/mogenerator/statuses/{sha}","languages_url":"https://api.github.com/repos/depl0y/mogenerator/languages","stargazers_url":"https://api.github.com/repos/depl0y/mogenerator/stargazers","contributors_url":"https://api.github.com/repos/depl0y/mogenerator/contributors","subscribers_url":"https://api.github.com/repos/depl0y/mogenerator/subscribers","subscription_url":"https://api.github.com/repos/depl0y/mogenerator/subscription","commits_url":"https://api.github.com/repos/depl0y/mogenerator/commits{/sha}","git_commits_url":"https://api.github.com/repos/depl0y/mogenerator/git/commits{/sha}","comments_url":"https://api.github.com/repos/depl0y/mogenerator/comments{/number}","issue_comment_url":"https://api.github.com/repos/depl0y/mogenerator/issues/comments{/number}","contents_url":"https://api.github.com/repos/depl0y/mogenerator/contents/{+path}","compare_url":"https://api.github.com/repos/depl0y/mogenerator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/depl0y/mogenerator/merges","archive_url":"https://api.github.com/repos/depl0y/mogenerator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/depl0y/mogenerator/downloads","issues_url":"https://api.github.com/repos/depl0y/mogenerator/issues{/number}","pulls_url":"https://api.github.com/repos/depl0y/mogenerator/pulls{/number}","milestones_url":"https://api.github.com/repos/depl0y/mogenerator/milestones{/number}","notifications_url":"https://api.github.com/repos/depl0y/mogenerator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/depl0y/mogenerator/labels{/name}","releases_url":"https://api.github.com/repos/depl0y/mogenerator/releases{/id}","created_at":"2015-02-10T08:39:30Z","updated_at":"2015-02-10T13:08:52Z","pushed_at":"2015-02-10T13:08:51Z","git_url":"git://github.com/depl0y/mogenerator.git","ssh_url":"git@github.com:depl0y/mogenerator.git","clone_url":"https://github.com/depl0y/mogenerator.git","svn_url":"https://github.com/depl0y/mogenerator","homepage":"http://rentzsch.github.com/mogenerator","size":1887,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rentzsch:master","ref":"master","sha":"448e833c9fa2b932519ccf74932f1c6bd9b49c3c","user":{"login":"rentzsch","id":2971,"avatar_url":"https://avatars.githubusercontent.com/u/2971?v=3","gravatar_id":"","url":"https://api.github.com/users/rentzsch","html_url":"https://github.com/rentzsch","followers_url":"https://api.github.com/users/rentzsch/followers","following_url":"https://api.github.com/users/rentzsch/following{/other_user}","gists_url":"https://api.github.com/users/rentzsch/gists{/gist_id}","starred_url":"https://api.github.com/users/rentzsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rentzsch/subscriptions","organizations_url":"https://api.github.com/users/rentzsch/orgs","repos_url":"https://api.github.com/users/rentzsch/repos","events_url":"https://api.github.com/users/rentzsch/events{/privacy}","received_events_url":"https://api.github.com/users/rentzsch/received_events","type":"User","site_admin":false},"repo":{"id":153329,"name":"mogenerator","full_name":"rentzsch/mogenerator","owner":{"login":"rentzsch","id":2971,"avatar_url":"https://avatars.githubusercontent.com/u/2971?v=3","gravatar_id":"","url":"https://api.github.com/users/rentzsch","html_url":"https://github.com/rentzsch","followers_url":"https://api.github.com/users/rentzsch/followers","following_url":"https://api.github.com/users/rentzsch/following{/other_user}","gists_url":"https://api.github.com/users/rentzsch/gists{/gist_id}","starred_url":"https://api.github.com/users/rentzsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rentzsch/subscriptions","organizations_url":"https://api.github.com/users/rentzsch/orgs","repos_url":"https://api.github.com/users/rentzsch/repos","events_url":"https://api.github.com/users/rentzsch/events{/privacy}","received_events_url":"https://api.github.com/users/rentzsch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rentzsch/mogenerator","description":"Core Data code generation","fork":false,"url":"https://api.github.com/repos/rentzsch/mogenerator","forks_url":"https://api.github.com/repos/rentzsch/mogenerator/forks","keys_url":"https://api.github.com/repos/rentzsch/mogenerator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rentzsch/mogenerator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rentzsch/mogenerator/teams","hooks_url":"https://api.github.com/repos/rentzsch/mogenerator/hooks","issue_events_url":"https://api.github.com/repos/rentzsch/mogenerator/issues/events{/number}","events_url":"https://api.github.com/repos/rentzsch/mogenerator/events","assignees_url":"https://api.github.com/repos/rentzsch/mogenerator/assignees{/user}","branches_url":"https://api.github.com/repos/rentzsch/mogenerator/branches{/branch}","tags_url":"https://api.github.com/repos/rentzsch/mogenerator/tags","blobs_url":"https://api.github.com/repos/rentzsch/mogenerator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rentzsch/mogenerator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rentzsch/mogenerator/git/refs{/sha}","trees_url":"https://api.github.com/repos/rentzsch/mogenerator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rentzsch/mogenerator/statuses/{sha}","languages_url":"https://api.github.com/repos/rentzsch/mogenerator/languages","stargazers_url":"https://api.github.com/repos/rentzsch/mogenerator/stargazers","contributors_url":"https://api.github.com/repos/rentzsch/mogenerator/contributors","subscribers_url":"https://api.github.com/repos/rentzsch/mogenerator/subscribers","subscription_url":"https://api.github.com/repos/rentzsch/mogenerator/subscription","commits_url":"https://api.github.com/repos/rentzsch/mogenerator/commits{/sha}","git_commits_url":"https://api.github.com/repos/rentzsch/mogenerator/git/commits{/sha}","comments_url":"https://api.github.com/repos/rentzsch/mogenerator/comments{/number}","issue_comment_url":"https://api.github.com/repos/rentzsch/mogenerator/issues/comments{/number}","contents_url":"https://api.github.com/repos/rentzsch/mogenerator/contents/{+path}","compare_url":"https://api.github.com/repos/rentzsch/mogenerator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rentzsch/mogenerator/merges","archive_url":"https://api.github.com/repos/rentzsch/mogenerator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rentzsch/mogenerator/downloads","issues_url":"https://api.github.com/repos/rentzsch/mogenerator/issues{/number}","pulls_url":"https://api.github.com/repos/rentzsch/mogenerator/pulls{/number}","milestones_url":"https://api.github.com/repos/rentzsch/mogenerator/milestones{/number}","notifications_url":"https://api.github.com/repos/rentzsch/mogenerator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rentzsch/mogenerator/labels{/name}","releases_url":"https://api.github.com/repos/rentzsch/mogenerator/releases{/id}","created_at":"2009-03-18T06:26:48Z","updated_at":"2015-04-07T22:08:36Z","pushed_at":"2015-03-30T00:40:44Z","git_url":"git://github.com/rentzsch/mogenerator.git","ssh_url":"git@github.com:rentzsch/mogenerator.git","clone_url":"https://github.com/rentzsch/mogenerator.git","svn_url":"https://github.com/rentzsch/mogenerator","homepage":"http://rentzsch.github.com/mogenerator","size":3043,"stargazers_count":2358,"watchers_count":2358,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":294,"mirror_url":null,"open_issues_count":72,"forks":294,"open_issues":72,"watchers":2358,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rentzsch/mogenerator/pulls/267"},"html":{"href":"https://github.com/rentzsch/mogenerator/pull/267"},"issue":{"href":"https://api.github.com/repos/rentzsch/mogenerator/issues/267"},"comments":{"href":"https://api.github.com/repos/rentzsch/mogenerator/issues/267/comments"},"review_comments":{"href":"https://api.github.com/repos/rentzsch/mogenerator/pulls/267/comments"},"review_comment":{"href":"https://api.github.com/repos/rentzsch/mogenerator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rentzsch/mogenerator/pulls/267/commits"},"statuses":{"href":"https://api.github.com/repos/rentzsch/mogenerator/statuses/643579c3381db98d3ed2317f06bd49cdf33548d5"}}}}