{"action":"created","comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/pulls/comments/225091388","pull_request_review_id":164613567,"id":225091388,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTA5MTM4OA==","diff_hunk":"@@ -16,4 +16,15 @@ This module adds an implementation of [graphiql](https://github.com/graphql/grap\n  \n  This tool is available in **dev mode only**. It can be accessed at `/dev/graphiql/`.\n  \n- <img src=\"https://github.com/graphql/graphiql/raw/master/resources/graphiql.png\">\n\\ No newline at end of file\n+ <img src=\"https://github.com/graphql/graphiql/raw/master/resources/graphiql.png\">\n+ \n+ ## Setting the endpoint\n+ \n+ In most installations of SilverStripe, there are at least two GraphQL servers running -- one\n+ for the admin (`admin/graphql`) and one for the user space (`/graphql`). The IDE can only browse\n+ one schema at a time, so it must be configured with a route to use.\n+ \n+ By default, it will use the `/graphql` route. This can be changed in the `SilverStripe\\GraphQLDevTools\\GraphiQLController.default_route`\n+ setting. Otherwise, you can specify an endpoint per request using the `GET` variable `endpoint`, e.g.","path":"README.md","position":15,"original_position":15,"commit_id":"52290cdf0441997f779e7abe4172ff7379db77a9","original_commit_id":"52290cdf0441997f779e7abe4172ff7379db77a9","user":{"login":"robbieaverill","id":5170590,"node_id":"MDQ6VXNlcjUxNzA1OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5170590?v=4","gravatar_id":"","url":"https://api.github.com/users/robbieaverill","html_url":"https://github.com/robbieaverill","followers_url":"https://api.github.com/users/robbieaverill/followers","following_url":"https://api.github.com/users/robbieaverill/following{/other_user}","gists_url":"https://api.github.com/users/robbieaverill/gists{/gist_id}","starred_url":"https://api.github.com/users/robbieaverill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbieaverill/subscriptions","organizations_url":"https://api.github.com/users/robbieaverill/orgs","repos_url":"https://api.github.com/users/robbieaverill/repos","events_url":"https://api.github.com/users/robbieaverill/events{/privacy}","received_events_url":"https://api.github.com/users/robbieaverill/received_events","type":"User","site_admin":false},"body":"I've had to refer to this three times now to remember how to switch it =D","created_at":"2018-10-15T09:13:32Z","updated_at":"2018-10-15T09:13:32Z","html_url":"https://github.com/silverstripe/silverstripe-graphql-devtools/pull/9#discussion_r225091388","pull_request_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/pulls/9","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/pulls/comments/225091388"},"html":{"href":"https://github.com/silverstripe/silverstripe-graphql-devtools/pull/9#discussion_r225091388"},"pull_request":{"href":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/pulls/9","id":200280525,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMjgwNTI1","html_url":"https://github.com/silverstripe/silverstripe-graphql-devtools/pull/9","diff_url":"https://github.com/silverstripe/silverstripe-graphql-devtools/pull/9.diff","patch_url":"https://github.com/silverstripe/silverstripe-graphql-devtools/pull/9.patch","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/issues/9","number":9,"state":"closed","locked":false,"title":"Support for multiple schemas","user":{"login":"unclecheese","id":654636,"node_id":"MDQ6VXNlcjY1NDYzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/654636?v=4","gravatar_id":"","url":"https://api.github.com/users/unclecheese","html_url":"https://github.com/unclecheese","followers_url":"https://api.github.com/users/unclecheese/followers","following_url":"https://api.github.com/users/unclecheese/following{/other_user}","gists_url":"https://api.github.com/users/unclecheese/gists{/gist_id}","starred_url":"https://api.github.com/users/unclecheese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unclecheese/subscriptions","organizations_url":"https://api.github.com/users/unclecheese/orgs","repos_url":"https://api.github.com/users/unclecheese/repos","events_url":"https://api.github.com/users/unclecheese/events{/privacy}","received_events_url":"https://api.github.com/users/unclecheese/received_events","type":"User","site_admin":false},"body":"Resolves: https://github.com/silverstripe/silverstripe-graphql/issues/158","created_at":"2018-07-10T04:32:19Z","updated_at":"2018-10-15T09:13:32Z","closed_at":"2018-08-06T02:01:22Z","merged_at":"2018-08-06T02:01:21Z","merge_commit_sha":"42dc2b995dec04bdc5185dea92c294ca0b481dde","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/pulls/9/commits","review_comments_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/pulls/9/comments","review_comment_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/issues/9/comments","statuses_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/statuses/52290cdf0441997f779e7abe4172ff7379db77a9","head":{"label":"open-sausages:pulls/master/pyramid-schema","ref":"pulls/master/pyramid-schema","sha":"52290cdf0441997f779e7abe4172ff7379db77a9","user":{"login":"open-sausages","id":12824172,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyODI0MTcy","avatar_url":"https://avatars2.githubusercontent.com/u/12824172?v=4","gravatar_id":"","url":"https://api.github.com/users/open-sausages","html_url":"https://github.com/open-sausages","followers_url":"https://api.github.com/users/open-sausages/followers","following_url":"https://api.github.com/users/open-sausages/following{/other_user}","gists_url":"https://api.github.com/users/open-sausages/gists{/gist_id}","starred_url":"https://api.github.com/users/open-sausages/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-sausages/subscriptions","organizations_url":"https://api.github.com/users/open-sausages/orgs","repos_url":"https://api.github.com/users/open-sausages/repos","events_url":"https://api.github.com/users/open-sausages/events{/privacy}","received_events_url":"https://api.github.com/users/open-sausages/received_events","type":"Organization","site_admin":false},"repo":{"id":84019325,"node_id":"MDEwOlJlcG9zaXRvcnk4NDAxOTMyNQ==","name":"silverstripe-graphql-devtools","full_name":"open-sausages/silverstripe-graphql-devtools","private":false,"owner":{"login":"open-sausages","id":12824172,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyODI0MTcy","avatar_url":"https://avatars2.githubusercontent.com/u/12824172?v=4","gravatar_id":"","url":"https://api.github.com/users/open-sausages","html_url":"https://github.com/open-sausages","followers_url":"https://api.github.com/users/open-sausages/followers","following_url":"https://api.github.com/users/open-sausages/following{/other_user}","gists_url":"https://api.github.com/users/open-sausages/gists{/gist_id}","starred_url":"https://api.github.com/users/open-sausages/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-sausages/subscriptions","organizations_url":"https://api.github.com/users/open-sausages/orgs","repos_url":"https://api.github.com/users/open-sausages/repos","events_url":"https://api.github.com/users/open-sausages/events{/privacy}","received_events_url":"https://api.github.com/users/open-sausages/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/open-sausages/silverstripe-graphql-devtools","description":"Tools to help developers building new applications on SilverStripe’s GraphQL API","fork":true,"url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools","forks_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/forks","keys_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/teams","hooks_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/hooks","issue_events_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/issues/events{/number}","events_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/events","assignees_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/assignees{/user}","branches_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/branches{/branch}","tags_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/tags","blobs_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/statuses/{sha}","languages_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/languages","stargazers_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/stargazers","contributors_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/contributors","subscribers_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/subscribers","subscription_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/subscription","commits_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/contents/{+path}","compare_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/merges","archive_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/downloads","issues_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/issues{/number}","pulls_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/pulls{/number}","milestones_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/milestones{/number}","notifications_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/labels{/name}","releases_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/releases{/id}","deployments_url":"https://api.github.com/repos/open-sausages/silverstripe-graphql-devtools/deployments","created_at":"2017-03-06T02:05:35Z","updated_at":"2018-08-12T21:26:35Z","pushed_at":"2018-08-12T21:26:33Z","git_url":"git://github.com/open-sausages/silverstripe-graphql-devtools.git","ssh_url":"git@github.com:open-sausages/silverstripe-graphql-devtools.git","clone_url":"https://github.com/open-sausages/silverstripe-graphql-devtools.git","svn_url":"https://github.com/open-sausages/silverstripe-graphql-devtools","homepage":"","size":449,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"silverstripe:master","ref":"master","sha":"2af722b660b111cbccd15ff11970082352b30fd4","user":{"login":"silverstripe","id":379348,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTM0OA==","avatar_url":"https://avatars0.githubusercontent.com/u/379348?v=4","gravatar_id":"","url":"https://api.github.com/users/silverstripe","html_url":"https://github.com/silverstripe","followers_url":"https://api.github.com/users/silverstripe/followers","following_url":"https://api.github.com/users/silverstripe/following{/other_user}","gists_url":"https://api.github.com/users/silverstripe/gists{/gist_id}","starred_url":"https://api.github.com/users/silverstripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverstripe/subscriptions","organizations_url":"https://api.github.com/users/silverstripe/orgs","repos_url":"https://api.github.com/users/silverstripe/repos","events_url":"https://api.github.com/users/silverstripe/events{/privacy}","received_events_url":"https://api.github.com/users/silverstripe/received_events","type":"Organization","site_admin":false},"repo":{"id":78792258,"node_id":"MDEwOlJlcG9zaXRvcnk3ODc5MjI1OA==","name":"silverstripe-graphql-devtools","full_name":"silverstripe/silverstripe-graphql-devtools","private":false,"owner":{"login":"silverstripe","id":379348,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTM0OA==","avatar_url":"https://avatars0.githubusercontent.com/u/379348?v=4","gravatar_id":"","url":"https://api.github.com/users/silverstripe","html_url":"https://github.com/silverstripe","followers_url":"https://api.github.com/users/silverstripe/followers","following_url":"https://api.github.com/users/silverstripe/following{/other_user}","gists_url":"https://api.github.com/users/silverstripe/gists{/gist_id}","starred_url":"https://api.github.com/users/silverstripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverstripe/subscriptions","organizations_url":"https://api.github.com/users/silverstripe/orgs","repos_url":"https://api.github.com/users/silverstripe/repos","events_url":"https://api.github.com/users/silverstripe/events{/privacy}","received_events_url":"https://api.github.com/users/silverstripe/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/silverstripe/silverstripe-graphql-devtools","description":"Tools to help developers building new applications on SilverStripe’s GraphQL API","fork":false,"url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools","forks_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/forks","keys_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/teams","hooks_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/hooks","issue_events_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/issues/events{/number}","events_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/events","assignees_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/assignees{/user}","branches_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/branches{/branch}","tags_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/tags","blobs_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/statuses/{sha}","languages_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/languages","stargazers_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/stargazers","contributors_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/contributors","subscribers_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/subscribers","subscription_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/subscription","commits_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/contents/{+path}","compare_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/merges","archive_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/downloads","issues_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/issues{/number}","pulls_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/pulls{/number}","milestones_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/milestones{/number}","notifications_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/labels{/name}","releases_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/releases{/id}","deployments_url":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/deployments","created_at":"2017-01-12T22:22:30Z","updated_at":"2018-10-03T09:57:08Z","pushed_at":"2018-08-06T02:01:21Z","git_url":"git://github.com/silverstripe/silverstripe-graphql-devtools.git","ssh_url":"git@github.com:silverstripe/silverstripe-graphql-devtools.git","clone_url":"https://github.com/silverstripe/silverstripe-graphql-devtools.git","svn_url":"https://github.com/silverstripe/silverstripe-graphql-devtools","homepage":"","size":450,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":7,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/pulls/9"},"html":{"href":"https://github.com/silverstripe/silverstripe-graphql-devtools/pull/9"},"issue":{"href":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/issues/9"},"comments":{"href":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/silverstripe/silverstripe-graphql-devtools/statuses/52290cdf0441997f779e7abe4172ff7379db77a9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"robbieaverill"}}