{"action":"created","comment":{"url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/comments/153966371","pull_request_review_id":80056129,"id":153966371,"diff_hunk":"@@ -0,0 +1,337 @@\n+# frozen_string_literal: true\n+require \"spec_helper\"\n+\n+describe GraphQL::Language::DocumentFromSchemaDefinition do\n+  let(:schema_idl) { <<-GRAPHQL\n+    type QueryType {\n+      foo: Foo\n+    }\n+\n+    type Foo implements Bar {\n+      one: Type\n+      two(argument: InputType!): Type\n+      three(argument: InputType, other: String): Int\n+      four(argument: String = \"string\"): String\n+      five(argument: [String] = [\"string\", \"string\"]): String\n+      six(argument: String): Type\n+    }\n+\n+    interface Bar {\n+      one: Type\n+      four(argument: String = \"string\"): String\n+    }\n+\n+    type Type {\n+      a: String\n+    }\n+\n+    input InputType {\n+      key: String!\n+      answer: Int = 42\n+    }\n+\n+    type MutationType {\n+      a(input: InputType): String\n+    }\n+\n+    # Scalar description\n+    scalar CustomScalar\n+\n+    enum Site {\n+      DESKTOP\n+      MOBILE\n+    }\n+\n+    union Union = Type | QueryType\n+\n+    schema {\n+      query: QueryType\n+      mutation: MutationType\n+    }\n+  GRAPHQL\n+  }\n+\n+  let(:expected_complete_idl) { <<-GRAPHQL\n+    # Represents `true` or `false` values.\n+    scalar Boolean\n+\n+    # Represents textual data as UTF-8 character sequences. This type is most often\n+    # used by GraphQL to represent free-form human-readable text.\n+    scalar String\n+\n+    # The fundamental unit of any GraphQL Schema is the type. There are many kinds of\n+    # types in GraphQL as represented by the `__TypeKind` enum.\n+    #\n+    # Depending on the kind of a type, certain fields describe information about that\n+    # type. Scalar types provide no information beyond a name and description, while\n+    # Enum types provide their values. Object and Interface types provide the fields\n+    # they describe. Abstract types, Union and Interface, provide the Object types\n+    # possible at runtime. List and NonNull types compose other types.\n+    type __Type {\n+      kind: __TypeKind!\n+      name: String\n+      description: String\n+      fields(includeDeprecated: Boolean = false): [__Field!]\n+      interfaces: [__Type!]\n+      possibleTypes: [__Type!]\n+      enumValues(includeDeprecated: Boolean = false): [__EnumValue!]\n+      inputFields: [__InputValue!]\n+      ofType: __Type\n+    }\n+\n+    # An enum describing what kind of type a given `__Type` is.\n+    enum __TypeKind {\n+      # Indicates this type is a scalar.\n+      SCALAR\n+\n+      # Indicates this type is an object. `fields` and `interfaces` are valid fields.\n+      OBJECT\n+\n+      # Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.\n+      INTERFACE\n+\n+      # Indicates this type is a union. `possibleTypes` is a valid field.\n+      UNION\n+\n+      # Indicates this type is an enum. `enumValues` is a valid field.\n+      ENUM\n+\n+      # Indicates this type is an input object. `inputFields` is a valid field.\n+      INPUT_OBJECT\n+\n+      # Indicates this type is a list. `ofType` is a valid field.\n+      LIST\n+\n+      # Indicates this type is a non-null. `ofType` is a valid field.\n+      NON_NULL\n+    }\n+\n+    # Object and Interface types are described by a list of Fields, each of which has\n+    # a name, potentially a list of arguments, and a return type.\n+    type __Field {\n+      name: String!\n+      description: String\n+      args: [__InputValue!]!\n+      type: __Type!\n+      isDeprecated: Boolean!\n+      deprecationReason: String\n+    }\n+\n+    # Arguments provided to Fields or Directives and the input fields of an\n+    # InputObject are represented as Input Values which describe their type and\n+    # optionally a default value.\n+    type __InputValue {\n+      name: String!\n+      description: String\n+      type: __Type!\n+\n+      # A GraphQL-formatted string representing the default value for this input value.\n+      defaultValue: String\n+    }\n+\n+    # One possible value for a given Enum. Enum values are unique values, not a\n+    # placeholder for a string or numeric value. However an Enum value is returned in\n+    # a JSON response as a string.\n+    type __EnumValue {\n+      name: String!\n+      description: String\n+      isDeprecated: Boolean!\n+      deprecationReason: String\n+    }\n+\n+    type QueryType {\n+      foo: Foo\n+    }\n+\n+    type Foo implements Bar {\n+      one: Type\n+      two(argument: InputType!): Type\n+      three(argument: InputType, other: String): Int\n+      four(argument: String = \"string\"): String\n+      five(argument: [String] = [\"string\", \"string\"]): String\n+      six(argument: String): Type\n+    }\n+\n+    interface Bar {\n+      one: Type\n+      four(argument: String = \"string\"): String\n+    }\n+\n+    type Type {\n+      a: String\n+    }\n+\n+    input InputType {\n+      key: String!\n+      answer: Int = 42\n+    }\n+\n+    # Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.\n+    scalar Int\n+\n+    type MutationType {\n+      a(input: InputType): String\n+    }\n+\n+    # A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all\n+    # available types and directives on the server, as well as the entry points for\n+    # query, mutation, and subscription operations.\n+    type __Schema {\n+      # A list of all types supported by this server.\n+      types: [__Type!]!\n+\n+      # The type that query operations will be rooted at.\n+      queryType: __Type!\n+\n+      # If this server supports mutation, the type that mutation operations will be rooted at.\n+      mutationType: __Type\n+\n+      # If this server support subscription, the type that subscription operations will be rooted at.\n+      subscriptionType: __Type\n+\n+      # A list of all directives supported by this server.\n+      directives: [__Directive!]!\n+    }\n+\n+    # A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n+    #\n+    # In some cases, you need to provide options to alter GraphQL's execution behavior\n+    # in ways field arguments will not suffice, such as conditionally including or\n+    # skipping a field. Directives provide this by describing additional information\n+    # to the executor.\n+    type __Directive {\n+      name: String!\n+      description: String\n+      locations: [__DirectiveLocation!]!\n+      args: [__InputValue!]!\n+      onOperation: Boolean!\n+      onFragment: Boolean!\n+      onField: Boolean!\n+    }\n+\n+    # A Directive can be adjacent to many parts of the GraphQL language, a\n+    # __DirectiveLocation describes one such possible adjacencies.\n+    enum __DirectiveLocation {\n+      # Location adjacent to a query operation.\n+      QUERY\n+\n+      # Location adjacent to a mutation operation.\n+      MUTATION\n+\n+      # Location adjacent to a subscription operation.\n+      SUBSCRIPTION\n+\n+      # Location adjacent to a field.\n+      FIELD\n+\n+      # Location adjacent to a fragment definition.\n+      FRAGMENT_DEFINITION\n+\n+      # Location adjacent to a fragment spread.\n+      FRAGMENT_SPREAD\n+\n+      # Location adjacent to an inline fragment.\n+      INLINE_FRAGMENT\n+\n+      # Location adjacent to a schema definition.\n+      SCHEMA\n+\n+      # Location adjacent to a scalar definition.\n+      SCALAR\n+\n+      # Location adjacent to an object type definition.\n+      OBJECT\n+\n+      # Location adjacent to a field definition.\n+      FIELD_DEFINITION\n+\n+      # Location adjacent to an argument definition.\n+      ARGUMENT_DEFINITION\n+\n+      # Location adjacent to an interface definition.\n+      INTERFACE\n+\n+      # Location adjacent to a union definition.\n+      UNION\n+\n+      # Location adjacent to an enum definition.\n+      ENUM\n+\n+      # Location adjacent to an enum value definition.\n+      ENUM_VALUE\n+\n+      # Location adjacent to an input object type definition.\n+      INPUT_OBJECT\n+\n+      # Location adjacent to an input object field definition.\n+      INPUT_FIELD_DEFINITION\n+    }\n+\n+    # Represents signed double-precision fractional values as specified by [IEEE\n+    # 754](http://en.wikipedia.org/wiki/IEEE_floating_point).\n+    scalar Float\n+\n+    # Represents a unique identifier that is Base64 obfuscated. It is often used to\n+    # refetch an object or as key for a cache. The ID type appears in a JSON response\n+    # as a String; however, it is not intended to be human-readable. When expected as\n+    # an input type, any string (such as `\"VXNlci0xMA==\"`) or integer (such as `4`)\n+    # input value will be accepted as an ID.\n+    scalar ID\n+\n+    # Scalar description\n+    scalar CustomScalar\n+\n+    enum Site {\n+      DESKTOP\n+      MOBILE\n+    }\n+\n+    union Union = Type | QueryType\n+\n+    directive @skip(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT\n+\n+    directive @include(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT\n+\n+    # Marks an element of a GraphQL schema as no longer supported.\n+    directive @deprecated(reason: String = \"No longer supported\") on FIELD_DEFINITION | ENUM_VALUE\n+\n+    schema {\n+      query: QueryType\n+      mutation: MutationType\n+    }\n+  GRAPHQL\n+  }\n+\n+  let(:subject) { GraphQL::Language::DocumentFromSchemaDefinition }\n+\n+  describe \"#document\" do\n+    it \"returns the document AST from the given schema\" do\n+      schema = GraphQL::Schema.from_definition(schema_idl)\n+      document = subject.new(schema).document\n+\n+      expected_document = GraphQL.parse(expected_complete_idl)\n+\n+      assert equivalent_node?(expected_document, document)\n+    end\n+  end\n+\n+  private\n+\n+  def equivalent_node?(expected, node)","path":"spec/graphql/language/document_from_schema_definition_spec.rb","position":320,"original_position":320,"commit_id":"aef940227f28c03db195272c17e666f6aa0d552c","original_commit_id":"e284a9ff7052a0f55a1bcb03162b42df94c6d18a","user":{"login":"rmosolgo","id":2231765,"avatar_url":"https://avatars3.githubusercontent.com/u/2231765?v=4","gravatar_id":"","url":"https://api.github.com/users/rmosolgo","html_url":"https://github.com/rmosolgo","followers_url":"https://api.github.com/users/rmosolgo/followers","following_url":"https://api.github.com/users/rmosolgo/following{/other_user}","gists_url":"https://api.github.com/users/rmosolgo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmosolgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmosolgo/subscriptions","organizations_url":"https://api.github.com/users/rmosolgo/orgs","repos_url":"https://api.github.com/users/rmosolgo/repos","events_url":"https://api.github.com/users/rmosolgo/events{/privacy}","received_events_url":"https://api.github.com/users/rmosolgo/received_events","type":"User","site_admin":true},"body":"👌 thanks!","created_at":"2017-11-30T01:39:57Z","updated_at":"2017-11-30T01:39:57Z","html_url":"https://github.com/rmosolgo/graphql-ruby/pull/1134#discussion_r153966371","pull_request_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/1134","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/comments/153966371"},"html":{"href":"https://github.com/rmosolgo/graphql-ruby/pull/1134#discussion_r153966371"},"pull_request":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/1134"}},"in_reply_to_id":153360711},"pull_request":{"url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/1134","id":154901988,"html_url":"https://github.com/rmosolgo/graphql-ruby/pull/1134","diff_url":"https://github.com/rmosolgo/graphql-ruby/pull/1134.diff","patch_url":"https://github.com/rmosolgo/graphql-ruby/pull/1134.patch","issue_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/1134","number":1134,"state":"open","locked":false,"title":"Document from definition","user":{"login":"xuorig","id":1919498,"avatar_url":"https://avatars3.githubusercontent.com/u/1919498?v=4","gravatar_id":"","url":"https://api.github.com/users/xuorig","html_url":"https://github.com/xuorig","followers_url":"https://api.github.com/users/xuorig/followers","following_url":"https://api.github.com/users/xuorig/following{/other_user}","gists_url":"https://api.github.com/users/xuorig/gists{/gist_id}","starred_url":"https://api.github.com/users/xuorig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuorig/subscriptions","organizations_url":"https://api.github.com/users/xuorig/orgs","repos_url":"https://api.github.com/users/xuorig/repos","events_url":"https://api.github.com/users/xuorig/events{/privacy}","received_events_url":"https://api.github.com/users/xuorig/received_events","type":"User","site_admin":true},"body":"This PR introduces `DocumentFromSchemaDefinition` which produces an AST given a `GraphQL::Schema` object.\r\n\r\nThis is another approach than https://github.com/rmosolgo/graphql-ruby/pull/1114.\r\n\r\nFew questions:\r\n\r\n  - Should it be `NodeFromSchemaMember` instead? I like restricting to schema only because we can have options such as passing a mask, `include_schema_type`, `include_built_ins`, etc.\r\n\r\nIn a next PR, I'd like `Schema::Printer` to use this API and use `Language::Printer` (https://github.com/rmosolgo/graphql-ruby/pull/1118) to generate an IDL.\r\n\r\nThis will require adding all the options I mentioned above to `DocumentFromSchemaDefinition`. For now it will print the complete schema (including scalars, directives and introspection types).\r\n\r\n@rmosolgo what do you think of this approach? Should it accept any schema member instead?","created_at":"2017-11-27T19:56:25Z","updated_at":"2017-11-30T01:39:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f8c4e910bda95f632cc08c7162759b63ec923ee4","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/1134/commits","review_comments_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/1134/comments","review_comment_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/1134/comments","statuses_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/statuses/aef940227f28c03db195272c17e666f6aa0d552c","head":{"label":"xuorig:document-from-definition","ref":"document-from-definition","sha":"aef940227f28c03db195272c17e666f6aa0d552c","user":{"login":"xuorig","id":1919498,"avatar_url":"https://avatars3.githubusercontent.com/u/1919498?v=4","gravatar_id":"","url":"https://api.github.com/users/xuorig","html_url":"https://github.com/xuorig","followers_url":"https://api.github.com/users/xuorig/followers","following_url":"https://api.github.com/users/xuorig/following{/other_user}","gists_url":"https://api.github.com/users/xuorig/gists{/gist_id}","starred_url":"https://api.github.com/users/xuorig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuorig/subscriptions","organizations_url":"https://api.github.com/users/xuorig/orgs","repos_url":"https://api.github.com/users/xuorig/repos","events_url":"https://api.github.com/users/xuorig/events{/privacy}","received_events_url":"https://api.github.com/users/xuorig/received_events","type":"User","site_admin":true},"repo":{"id":41250108,"name":"graphql-ruby","full_name":"xuorig/graphql-ruby","owner":{"login":"xuorig","id":1919498,"avatar_url":"https://avatars3.githubusercontent.com/u/1919498?v=4","gravatar_id":"","url":"https://api.github.com/users/xuorig","html_url":"https://github.com/xuorig","followers_url":"https://api.github.com/users/xuorig/followers","following_url":"https://api.github.com/users/xuorig/following{/other_user}","gists_url":"https://api.github.com/users/xuorig/gists{/gist_id}","starred_url":"https://api.github.com/users/xuorig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuorig/subscriptions","organizations_url":"https://api.github.com/users/xuorig/orgs","repos_url":"https://api.github.com/users/xuorig/repos","events_url":"https://api.github.com/users/xuorig/events{/privacy}","received_events_url":"https://api.github.com/users/xuorig/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/xuorig/graphql-ruby","description":"Ruby implementation of Facebook's GraphQL ","fork":true,"url":"https://api.github.com/repos/xuorig/graphql-ruby","forks_url":"https://api.github.com/repos/xuorig/graphql-ruby/forks","keys_url":"https://api.github.com/repos/xuorig/graphql-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xuorig/graphql-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xuorig/graphql-ruby/teams","hooks_url":"https://api.github.com/repos/xuorig/graphql-ruby/hooks","issue_events_url":"https://api.github.com/repos/xuorig/graphql-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/xuorig/graphql-ruby/events","assignees_url":"https://api.github.com/repos/xuorig/graphql-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/xuorig/graphql-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/xuorig/graphql-ruby/tags","blobs_url":"https://api.github.com/repos/xuorig/graphql-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xuorig/graphql-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xuorig/graphql-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/xuorig/graphql-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xuorig/graphql-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/xuorig/graphql-ruby/languages","stargazers_url":"https://api.github.com/repos/xuorig/graphql-ruby/stargazers","contributors_url":"https://api.github.com/repos/xuorig/graphql-ruby/contributors","subscribers_url":"https://api.github.com/repos/xuorig/graphql-ruby/subscribers","subscription_url":"https://api.github.com/repos/xuorig/graphql-ruby/subscription","commits_url":"https://api.github.com/repos/xuorig/graphql-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/xuorig/graphql-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/xuorig/graphql-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/xuorig/graphql-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/xuorig/graphql-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/xuorig/graphql-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xuorig/graphql-ruby/merges","archive_url":"https://api.github.com/repos/xuorig/graphql-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xuorig/graphql-ruby/downloads","issues_url":"https://api.github.com/repos/xuorig/graphql-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/xuorig/graphql-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/xuorig/graphql-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/xuorig/graphql-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xuorig/graphql-ruby/labels{/name}","releases_url":"https://api.github.com/repos/xuorig/graphql-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/xuorig/graphql-ruby/deployments","created_at":"2015-08-23T13:13:45Z","updated_at":"2016-02-07T19:39:48Z","pushed_at":"2017-11-28T20:44:08Z","git_url":"git://github.com/xuorig/graphql-ruby.git","ssh_url":"git@github.com:xuorig/graphql-ruby.git","clone_url":"https://github.com/xuorig/graphql-ruby.git","svn_url":"https://github.com/xuorig/graphql-ruby","homepage":"","size":6294,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rmosolgo:master","ref":"master","sha":"5bce566e3db7793c9f28d87fe797a1dc9ab82d8d","user":{"login":"rmosolgo","id":2231765,"avatar_url":"https://avatars3.githubusercontent.com/u/2231765?v=4","gravatar_id":"","url":"https://api.github.com/users/rmosolgo","html_url":"https://github.com/rmosolgo","followers_url":"https://api.github.com/users/rmosolgo/followers","following_url":"https://api.github.com/users/rmosolgo/following{/other_user}","gists_url":"https://api.github.com/users/rmosolgo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmosolgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmosolgo/subscriptions","organizations_url":"https://api.github.com/users/rmosolgo/orgs","repos_url":"https://api.github.com/users/rmosolgo/repos","events_url":"https://api.github.com/users/rmosolgo/events{/privacy}","received_events_url":"https://api.github.com/users/rmosolgo/received_events","type":"User","site_admin":true},"repo":{"id":30337170,"name":"graphql-ruby","full_name":"rmosolgo/graphql-ruby","owner":{"login":"rmosolgo","id":2231765,"avatar_url":"https://avatars3.githubusercontent.com/u/2231765?v=4","gravatar_id":"","url":"https://api.github.com/users/rmosolgo","html_url":"https://github.com/rmosolgo","followers_url":"https://api.github.com/users/rmosolgo/followers","following_url":"https://api.github.com/users/rmosolgo/following{/other_user}","gists_url":"https://api.github.com/users/rmosolgo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmosolgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmosolgo/subscriptions","organizations_url":"https://api.github.com/users/rmosolgo/orgs","repos_url":"https://api.github.com/users/rmosolgo/repos","events_url":"https://api.github.com/users/rmosolgo/events{/privacy}","received_events_url":"https://api.github.com/users/rmosolgo/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/rmosolgo/graphql-ruby","description":"Ruby implementation of GraphQL ","fork":false,"url":"https://api.github.com/repos/rmosolgo/graphql-ruby","forks_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/forks","keys_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/teams","hooks_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/hooks","issue_events_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/events","assignees_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/tags","blobs_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/languages","stargazers_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/stargazers","contributors_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/contributors","subscribers_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/subscribers","subscription_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/subscription","commits_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/merges","archive_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/downloads","issues_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/labels{/name}","releases_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/deployments","created_at":"2015-02-05T04:11:22Z","updated_at":"2017-11-29T19:42:36Z","pushed_at":"2017-11-30T01:30:18Z","git_url":"git://github.com/rmosolgo/graphql-ruby.git","ssh_url":"git@github.com:rmosolgo/graphql-ruby.git","clone_url":"https://github.com/rmosolgo/graphql-ruby.git","svn_url":"https://github.com/rmosolgo/graphql-ruby","homepage":"http://graphql-ruby.org","size":9874,"stargazers_count":2319,"watchers_count":2319,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":293,"mirror_url":null,"archived":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":293,"open_issues":91,"watchers":2319,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/1134"},"html":{"href":"https://github.com/rmosolgo/graphql-ruby/pull/1134"},"issue":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/1134"},"comments":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/1134/comments"},"review_comments":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/1134/comments"},"review_comment":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/1134/commits"},"statuses":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/statuses/aef940227f28c03db195272c17e666f6aa0d552c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rmosolgo"}}