{"action":"created","issue":{"url":"https://api.github.com/repos/graphql/graphql.github.io/issues/44","repository_url":"https://api.github.com/repos/graphql/graphql.github.io","labels_url":"https://api.github.com/repos/graphql/graphql.github.io/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/graphql/graphql.github.io/issues/44/comments","events_url":"https://api.github.com/repos/graphql/graphql.github.io/issues/44/events","html_url":"https://github.com/graphql/graphql.github.io/pull/44","id":174203198,"number":44,"title":"[WIP] New schema for all query/schema examples","user":{"login":"stubailo","id":448783,"avatar_url":"https://avatars.githubusercontent.com/u/448783?v=3","gravatar_id":"","url":"https://api.github.com/users/stubailo","html_url":"https://github.com/stubailo","followers_url":"https://api.github.com/users/stubailo/followers","following_url":"https://api.github.com/users/stubailo/following{/other_user}","gists_url":"https://api.github.com/users/stubailo/gists{/gist_id}","starred_url":"https://api.github.com/users/stubailo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stubailo/subscriptions","organizations_url":"https://api.github.com/users/stubailo/orgs","repos_url":"https://api.github.com/users/stubailo/repos","events_url":"https://api.github.com/users/stubailo/events{/privacy}","received_events_url":"https://api.github.com/users/stubailo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graphql/graphql.github.io/labels/CLA%20Signed","name":"CLA Signed","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-31T07:27:54Z","updated_at":"2016-09-01T00:44:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/graphql/graphql.github.io/pulls/44","html_url":"https://github.com/graphql/graphql.github.io/pull/44","diff_url":"https://github.com/graphql/graphql.github.io/pull/44.diff","patch_url":"https://github.com/graphql/graphql.github.io/pull/44.patch"},"body":"I went on a quest to design a schema that exercises every feature of GraphQL schemas I know of, and this is what I have so far.\r\n\r\nThe other goal is to reimplement the schema using the schema language directly, rather than having it in comments that are in danger of becoming outdated."},"comment":{"url":"https://api.github.com/repos/graphql/graphql.github.io/issues/comments/243944352","html_url":"https://github.com/graphql/graphql.github.io/pull/44#issuecomment-243944352","issue_url":"https://api.github.com/repos/graphql/graphql.github.io/issues/44","id":243944352,"user":{"login":"stubailo","id":448783,"avatar_url":"https://avatars.githubusercontent.com/u/448783?v=3","gravatar_id":"","url":"https://api.github.com/users/stubailo","html_url":"https://github.com/stubailo","followers_url":"https://api.github.com/users/stubailo/followers","following_url":"https://api.github.com/users/stubailo/following{/other_user}","gists_url":"https://api.github.com/users/stubailo/gists{/gist_id}","starred_url":"https://api.github.com/users/stubailo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stubailo/subscriptions","organizations_url":"https://api.github.com/users/stubailo/orgs","repos_url":"https://api.github.com/users/stubailo/repos","events_url":"https://api.github.com/users/stubailo/events{/privacy}","received_events_url":"https://api.github.com/users/stubailo/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T00:44:22Z","updated_at":"2016-09-01T00:44:22Z","body":"For reference, here are all the code samples from index.html:\r\n\r\n```\r\n\"hero\": {\r\n    \"name\": \"Luke Skywalker\",\r\n    \"eyeColor\": \"blue\",\r\n    \"hairColor\": \"blond\"\r\n  }\r\n```\r\n\r\n```\r\n{\r\n  hero {\r\n    name\r\n    friends {\r\n      name\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n```\r\n{\r\n  hero {\r\n    name\r\n    friends {\r\n      name\r\n      homeWorld {\r\n        name\r\n        climate\r\n      }\r\n      species {\r\n        name\r\n        lifespan\r\n        origin {\r\n          name\r\n        }\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n```\r\ntype Query {\r\n  hero: Character\r\n}\r\n\r\ntype Character {\r\n  name: String\r\n  friends: [Character]\r\n  homeWorld: Planet\r\n  species: Species\r\n}\r\n\r\ntype Planet {\r\n  name: String\r\n  climate: String\r\n}\r\n\r\ntype Species {\r\n  name: String\r\n  lifespan: Int\r\n  origin: Planet\r\n}\r\n```\r\n\r\n```\r\ntype Film {\r\n  title: String\r\n  episode: Int\r\n  releaseDate: String\r\n  openingCrawl: String\r\n  director: String @deprecated\r\n  directedBy: Person\r\n}\r\n\r\ntype Person {\r\n  name: String\r\n  directed: [Film]\r\n  actedIn: [Film]\r\n}\r\n```\r\n\r\nI don't think we should update the example schema to include all of these types, but I think we can rewrite the examples to draw from a more concise schema."}}
{"actor":{"display_login":"stubailo"}}