{"action":"created","comment":{"url":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls/comments/46190731","id":46190731,"diff_hunk":"@@ -30,19 +31,33 @@ query and filter sample data via REST.\n \n #### Application information\n \n-- Name: `loopback-example-model-relations`\n-- Directory to contain the project: `loopback-example-model-relations`\n-\n ```\n $ slc loopback loopback-example-model-relations\n ... # follow the prompts\n+- Name: `loopback-example-model-relations`\n+- Directory to contain the project: `loopback-example-model-relations`\n $ cd loopback-example-model-relations\n ```\n+### Create the datasource\n+\n+```\n+$ slc loopback:datasource\n+... # follow the prompts, choose `other` to define custom connctor\n+```\n+- Name: `transient`\n+- Connector: `other`\n+  - Name: `transient`","path":"README.md","position":30,"original_position":30,"commit_id":"fe9bde915c94ee18bfa7ba69e4f773f38b193a1b","original_commit_id":"fe9bde915c94ee18bfa7ba69e4f773f38b193a1b","user":{"login":"jannyHou","id":12554153,"avatar_url":"https://avatars.githubusercontent.com/u/12554153?v=3","gravatar_id":"","url":"https://api.github.com/users/jannyHou","html_url":"https://github.com/jannyHou","followers_url":"https://api.github.com/users/jannyHou/followers","following_url":"https://api.github.com/users/jannyHou/following{/other_user}","gists_url":"https://api.github.com/users/jannyHou/gists{/gist_id}","starred_url":"https://api.github.com/users/jannyHou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannyHou/subscriptions","organizations_url":"https://api.github.com/users/jannyHou/orgs","repos_url":"https://api.github.com/users/jannyHou/repos","events_url":"https://api.github.com/users/jannyHou/events{/privacy}","received_events_url":"https://api.github.com/users/jannyHou/received_events","type":"User","site_admin":false},"body":"thank you Simon, I changed the order of command and input data because I thought the tutorial would better to teach the command first then provide the data. But now I think you are right, a user should know what they gonna do before they really do it. I will change all these things back.","created_at":"2015-11-30T19:32:07Z","updated_at":"2015-11-30T19:32:07Z","html_url":"https://github.com/strongloop/loopback-example-relations/pull/20#discussion_r46190731","pull_request_url":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls/comments/46190731"},"html":{"href":"https://github.com/strongloop/loopback-example-relations/pull/20#discussion_r46190731"},"pull_request":{"href":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls/20","id":52024142,"html_url":"https://github.com/strongloop/loopback-example-relations/pull/20","diff_url":"https://github.com/strongloop/loopback-example-relations/pull/20.diff","patch_url":"https://github.com/strongloop/loopback-example-relations/pull/20.patch","issue_url":"https://api.github.com/repos/strongloop/loopback-example-relations/issues/20","number":20,"state":"open","locked":false,"title":"Merge examples","user":{"login":"jannyHou","id":12554153,"avatar_url":"https://avatars.githubusercontent.com/u/12554153?v=3","gravatar_id":"","url":"https://api.github.com/users/jannyHou","html_url":"https://github.com/jannyHou","followers_url":"https://api.github.com/users/jannyHou/followers","following_url":"https://api.github.com/users/jannyHou/following{/other_user}","gists_url":"https://api.github.com/users/jannyHou/gists{/gist_id}","starred_url":"https://api.github.com/users/jannyHou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannyHou/subscriptions","organizations_url":"https://api.github.com/users/jannyHou/orgs","repos_url":"https://api.github.com/users/jannyHou/repos","events_url":"https://api.github.com/users/jannyHou/events{/privacy}","received_events_url":"https://api.github.com/users/jannyHou/received_events","type":"User","site_admin":false},"body":"Merge `loopback-example-relations` with 'loopback-example-embedded-relations'","created_at":"2015-11-27T21:04:31Z","updated_at":"2015-11-30T19:32:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7643a8bcef3e402dfb329e52c8e2af026c57d71","assignee":{"login":"superkhau","id":1617364,"avatar_url":"https://avatars.githubusercontent.com/u/1617364?v=3","gravatar_id":"","url":"https://api.github.com/users/superkhau","html_url":"https://github.com/superkhau","followers_url":"https://api.github.com/users/superkhau/followers","following_url":"https://api.github.com/users/superkhau/following{/other_user}","gists_url":"https://api.github.com/users/superkhau/gists{/gist_id}","starred_url":"https://api.github.com/users/superkhau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superkhau/subscriptions","organizations_url":"https://api.github.com/users/superkhau/orgs","repos_url":"https://api.github.com/users/superkhau/repos","events_url":"https://api.github.com/users/superkhau/events{/privacy}","received_events_url":"https://api.github.com/users/superkhau/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls/20/commits","review_comments_url":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls/20/comments","review_comment_url":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/strongloop/loopback-example-relations/issues/20/comments","statuses_url":"https://api.github.com/repos/strongloop/loopback-example-relations/statuses/fe9bde915c94ee18bfa7ba69e4f773f38b193a1b","head":{"label":"strongloop:merge-examples","ref":"merge-examples","sha":"fe9bde915c94ee18bfa7ba69e4f773f38b193a1b","user":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars.githubusercontent.com/u/3020012?v=3","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"repo":{"id":29035957,"name":"loopback-example-relations","full_name":"strongloop/loopback-example-relations","owner":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars.githubusercontent.com/u/3020012?v=3","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/strongloop/loopback-example-relations","description":"Basic model relations concepts.","fork":false,"url":"https://api.github.com/repos/strongloop/loopback-example-relations","forks_url":"https://api.github.com/repos/strongloop/loopback-example-relations/forks","keys_url":"https://api.github.com/repos/strongloop/loopback-example-relations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strongloop/loopback-example-relations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strongloop/loopback-example-relations/teams","hooks_url":"https://api.github.com/repos/strongloop/loopback-example-relations/hooks","issue_events_url":"https://api.github.com/repos/strongloop/loopback-example-relations/issues/events{/number}","events_url":"https://api.github.com/repos/strongloop/loopback-example-relations/events","assignees_url":"https://api.github.com/repos/strongloop/loopback-example-relations/assignees{/user}","branches_url":"https://api.github.com/repos/strongloop/loopback-example-relations/branches{/branch}","tags_url":"https://api.github.com/repos/strongloop/loopback-example-relations/tags","blobs_url":"https://api.github.com/repos/strongloop/loopback-example-relations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strongloop/loopback-example-relations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strongloop/loopback-example-relations/git/refs{/sha}","trees_url":"https://api.github.com/repos/strongloop/loopback-example-relations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strongloop/loopback-example-relations/statuses/{sha}","languages_url":"https://api.github.com/repos/strongloop/loopback-example-relations/languages","stargazers_url":"https://api.github.com/repos/strongloop/loopback-example-relations/stargazers","contributors_url":"https://api.github.com/repos/strongloop/loopback-example-relations/contributors","subscribers_url":"https://api.github.com/repos/strongloop/loopback-example-relations/subscribers","subscription_url":"https://api.github.com/repos/strongloop/loopback-example-relations/subscription","commits_url":"https://api.github.com/repos/strongloop/loopback-example-relations/commits{/sha}","git_commits_url":"https://api.github.com/repos/strongloop/loopback-example-relations/git/commits{/sha}","comments_url":"https://api.github.com/repos/strongloop/loopback-example-relations/comments{/number}","issue_comment_url":"https://api.github.com/repos/strongloop/loopback-example-relations/issues/comments{/number}","contents_url":"https://api.github.com/repos/strongloop/loopback-example-relations/contents/{+path}","compare_url":"https://api.github.com/repos/strongloop/loopback-example-relations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strongloop/loopback-example-relations/merges","archive_url":"https://api.github.com/repos/strongloop/loopback-example-relations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strongloop/loopback-example-relations/downloads","issues_url":"https://api.github.com/repos/strongloop/loopback-example-relations/issues{/number}","pulls_url":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls{/number}","milestones_url":"https://api.github.com/repos/strongloop/loopback-example-relations/milestones{/number}","notifications_url":"https://api.github.com/repos/strongloop/loopback-example-relations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strongloop/loopback-example-relations/labels{/name}","releases_url":"https://api.github.com/repos/strongloop/loopback-example-relations/releases{/id}","created_at":"2015-01-09T21:22:24Z","updated_at":"2015-11-24T17:37:07Z","pushed_at":"2015-11-27T21:04:31Z","git_url":"git://github.com/strongloop/loopback-example-relations.git","ssh_url":"git@github.com:strongloop/loopback-example-relations.git","clone_url":"https://github.com/strongloop/loopback-example-relations.git","svn_url":"https://github.com/strongloop/loopback-example-relations","homepage":"http://docs.strongloop.com/display/LB/Creating+model+relations","size":55,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":6,"forks":12,"open_issues":6,"watchers":18,"default_branch":"master"}},"base":{"label":"strongloop:master","ref":"master","sha":"0743d875fa0ab12728fb91a402e46566a9951239","user":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars.githubusercontent.com/u/3020012?v=3","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"repo":{"id":29035957,"name":"loopback-example-relations","full_name":"strongloop/loopback-example-relations","owner":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars.githubusercontent.com/u/3020012?v=3","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/strongloop/loopback-example-relations","description":"Basic model relations concepts.","fork":false,"url":"https://api.github.com/repos/strongloop/loopback-example-relations","forks_url":"https://api.github.com/repos/strongloop/loopback-example-relations/forks","keys_url":"https://api.github.com/repos/strongloop/loopback-example-relations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strongloop/loopback-example-relations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strongloop/loopback-example-relations/teams","hooks_url":"https://api.github.com/repos/strongloop/loopback-example-relations/hooks","issue_events_url":"https://api.github.com/repos/strongloop/loopback-example-relations/issues/events{/number}","events_url":"https://api.github.com/repos/strongloop/loopback-example-relations/events","assignees_url":"https://api.github.com/repos/strongloop/loopback-example-relations/assignees{/user}","branches_url":"https://api.github.com/repos/strongloop/loopback-example-relations/branches{/branch}","tags_url":"https://api.github.com/repos/strongloop/loopback-example-relations/tags","blobs_url":"https://api.github.com/repos/strongloop/loopback-example-relations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strongloop/loopback-example-relations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strongloop/loopback-example-relations/git/refs{/sha}","trees_url":"https://api.github.com/repos/strongloop/loopback-example-relations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strongloop/loopback-example-relations/statuses/{sha}","languages_url":"https://api.github.com/repos/strongloop/loopback-example-relations/languages","stargazers_url":"https://api.github.com/repos/strongloop/loopback-example-relations/stargazers","contributors_url":"https://api.github.com/repos/strongloop/loopback-example-relations/contributors","subscribers_url":"https://api.github.com/repos/strongloop/loopback-example-relations/subscribers","subscription_url":"https://api.github.com/repos/strongloop/loopback-example-relations/subscription","commits_url":"https://api.github.com/repos/strongloop/loopback-example-relations/commits{/sha}","git_commits_url":"https://api.github.com/repos/strongloop/loopback-example-relations/git/commits{/sha}","comments_url":"https://api.github.com/repos/strongloop/loopback-example-relations/comments{/number}","issue_comment_url":"https://api.github.com/repos/strongloop/loopback-example-relations/issues/comments{/number}","contents_url":"https://api.github.com/repos/strongloop/loopback-example-relations/contents/{+path}","compare_url":"https://api.github.com/repos/strongloop/loopback-example-relations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strongloop/loopback-example-relations/merges","archive_url":"https://api.github.com/repos/strongloop/loopback-example-relations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strongloop/loopback-example-relations/downloads","issues_url":"https://api.github.com/repos/strongloop/loopback-example-relations/issues{/number}","pulls_url":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls{/number}","milestones_url":"https://api.github.com/repos/strongloop/loopback-example-relations/milestones{/number}","notifications_url":"https://api.github.com/repos/strongloop/loopback-example-relations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strongloop/loopback-example-relations/labels{/name}","releases_url":"https://api.github.com/repos/strongloop/loopback-example-relations/releases{/id}","created_at":"2015-01-09T21:22:24Z","updated_at":"2015-11-24T17:37:07Z","pushed_at":"2015-11-27T21:04:31Z","git_url":"git://github.com/strongloop/loopback-example-relations.git","ssh_url":"git@github.com:strongloop/loopback-example-relations.git","clone_url":"https://github.com/strongloop/loopback-example-relations.git","svn_url":"https://github.com/strongloop/loopback-example-relations","homepage":"http://docs.strongloop.com/display/LB/Creating+model+relations","size":55,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":6,"forks":12,"open_issues":6,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls/20"},"html":{"href":"https://github.com/strongloop/loopback-example-relations/pull/20"},"issue":{"href":"https://api.github.com/repos/strongloop/loopback-example-relations/issues/20"},"comments":{"href":"https://api.github.com/repos/strongloop/loopback-example-relations/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/strongloop/loopback-example-relations/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/strongloop/loopback-example-relations/statuses/fe9bde915c94ee18bfa7ba69e4f773f38b193a1b"}}}}