{"action":"created","comment":{"url":"https://api.github.com/repos/graphql-erlang/graphql/pulls/comments/105889792","pull_request_review_id":26781706,"id":105889792,"diff_hunk":"@@ -1 +1,263 @@\n-# Erlang GraphQL [![Build Status](https://travis-ci.org/graphql-erlang/graphql.svg?branch=master)](https://travis-ci.org/graphql-erlang/graphql)\n\\ No newline at end of file\n+# Erlang GraphQL [![Build Status](https://travis-ci.org/graphql-erlang/graphql.svg?branch=master)](https://travis-ci.org/graphql-erlang/graphql)\n+\n+An Erlang implementation of Facebook's GraphQL.\n+\n+This is the core GraphQL query parsing and execution engine whose goal is to be transport, server and datastore agnostic.\n+\n+\n+## Status\n+\n+This is a work in progress, here's todo list:\n+\n+- [X] Parser for GraphQL\n+- [X] Schema definition\n+- [X] Query execution\n+  - [X] Pre-defined basic scalar types\n+  - [X] Complex types (List, Object, Union, etc)\n+  - [X] Arguments\n+  - [X] Variables\n+  - [X] Fragments and inline fragments in queries\n+  - [X] Custom types\n+  - [ ] Parallel execution\n+  - [ ] Return maps option\n+- [X] Mutations\n+- [ ] Subscriptions\n+- [X] Introspection\n+- [ ] Directives\n+- [ ] \"Compile\" and validate schema before app start\n+- [ ] GraphQL Guard (may be another app)\n+  - [ ] Calculate query/mutation complexity\n+  - [ ] White list of queries with big complexity\n+\n+## Installation\n+\n+Rebar3 - hex package\n+```erlang\n+    {deps, [\n+      {graphql, \"0.2.7\", {pkg, graphql_erlang}}\n+    ]}.\n+```\n+\n+Rebar - git with version tag\n+```erlang\n+{deps, [\n+    {graphql, \"\", {git, \"https://github.com/graphql-erlang/graphql.git\", {tag, \"v0.2.7\"}}}\n+]]\n+```\n+\n+## Get started\n+\n+First - define you schema:\n+```erlang\n+-module(graphql_example).\n+-export([schema/0]).\n+-include_lib(\"graphql/include/types.hrl\").\n+\n+schema() -> graphlq:schema(#{\n+  query => query()\n+}).\n+\n+query() -> graphql:objectType(<<\"QueryRoot\">>, <<\"Example Query\">>, #{\n+  <<\"greatings\">> => #{\n+    type => ?STRING,\n+    description => <<\"Greating\">>,\n+    args => #{\n+      <<\"name\">> => #{\n+        type => ?NON_NULL(?STRING),\n+\tdescription => <<\"The name of who you'd like to great.\">>\n+      }\n+    },\n+    resolver => fun(_ParrentObject, Args, _Context) ->\n+      maps:get(<<\"name\">>, Args)\n+    end\n+  }\n+}).\n+```\n+\n+In handler - call query for schema with optional options:\n+```erlang\n+Document = <<\"query($name: String!) { greatings(name: $name) }\">>,  % or list\n+Context = #{},  % you can pass request through context or whatever you want use in resolver acress the schema\n+InitValue = #{},  % root value, passed to query/mutation root resolver\n+VariableValues = #{  % variables passed with query\n+  <<\"name\">> => <<\"world\">>\n+},\n+\n+Result = graphql:execute(graphql_example:schema(), Document, InitValue, Context),\n+\n+io:format(\"Result: ~p~n\", [Result]).  % #{data => [{<<\"name\">>, <<\"world\">>}]}\n+```\n+\n+## Types include\n+\n+We provide macros for simple types define. Include: `-include_lib(\"graphql/include/types.hrl\").`\n+\n+All value for types may be `null` except `?NON_NULL` and ObjectType\n+\n+`?BOOLEAN` - boolean type. Represent atoms true/false.\n+\n+`?ENUM(Name, Description, EnumValues)` - enumaration. Options is optional Usage:\n+```erlang\n+my_enum() -> ?ENUM(<<\"MyEnum\">>, <<\"MyEnumDescription\">>, [\n+  % ?ENUM_VAL(InternalValue, EnumValue, Description, Options) % Options - optional \n+  ?ENUM_VAL(1, <<\"ONE\">>, <<\"REPRESENT 1\">>),\n+  ?ENUM_VAL(2, <<\"TWO\">>, <<\"Deprecated exempla\">>, #{ isDeprecated => true, deprecationReason => <<\"Becouse we can\">>})\n+]).\n+```\n+\n+`?FLOAT` and `?INT` - represent float and integer. \n+\n+`?LIST(OfType)` - represent list where `OfType` - inner list type. Example: `?LIST(?INT)` - `[Int]`\n+\n+`?NON_NULL(OfType)` - non nullabel type - wrapper over nullable type. Example: `?NON_NULL(?LIST(?INT))` - `[Int]!`\n+\n+`?STRING` - binary string\n+\n+`?UNION(Name, Description, PossibleTypes, ResolveTypeFun)` - type can be one of listed in PossibleTypes. PossibleTypes must be list of ObjectTypes.\n+Example:\n+\n+Type definitions:\n+```erlang\n+one() -> graphql:objectType(<<\"One\">>, <<\"Has field named one\">>, #{\n+  <<\"one\">> => #{type => ?INT}\n+}).\n+\n+two() -> graphql:objectType(<<\"Two\">>, <<\"Has field named two\">>, #{\n+  <<\"two\">> => #{type => ?INT}\n+}).\n+\n+union_default() -> ?UNION(<<\"UnionDefaultResolve\">>, <<\"Used default type resolver\">>, [\n+  fun one/0,\n+  fun two/0\n+]).\n+\n+union_custom() -> ?UNION(<<\"UnionCastomResolve\">>, <<\"Used custom type resolver\">>, [\n+  fun one/0,\n+  fun two/0\n+], fun(Value, _ThisTypeDefinition)->\n+  Type = case maps:get(<<\"one\">>, Value, undefined) of\n+    undefined -> fun two/0;\n+    _ -> fun one/0\n+  end,\n+  {Type, Value}  % resolver must return tuple {ResolvedType, UnwrappedValue}\n+end).\n+```\n+\n+Object Type definition:\n+```erlang\n+test_unions() -> graphql:objectType(<<\"TestUnions\">>, <<>>, #{\n+  <<\"default_resolver\">> => #{\n+    type => ?LIST(fun unions_default/0),\n+    \n+    % default resolver just compare first elem in tuple with possibleTypes in union  \n+    resolver => fun() ->\n+      [\n+        {fun one/0, #{<<\"one\">> => 1}},\n+        {fun two/0, #{<<\"two\">> => 2}},\n+        {fun one/0, #{<<\"one\">> => 3}},\n+      ]\n+    end\n+  },\n+  \n+  <<\"custom_resolver\">> => #{\n+    type => ?LIST(fun unions_custom/0),\n+    resolver => fun()->\n+      [\n+        #{<<\"one\">> => 1},\n+        #{<<\"two\">> => 2},\n+        #{<<\"one\">> => 3}\n+      ]\n+    end\n+  }\n+}).\n+```\n+\n+## Object types\n+\n+The most basic components of a GraphQL schema are object types, which just represent a kind\n+of object you can fetch from your service, and what fields it has.\n+\n+Creating object type example:\n+```erlang\n+\n+graphql:objectType(<<\"Name\">>, <<\"Description\">>, #{\n+  <<\"field_name\">> => #{\n+    type => ?STRING,  % what type of resolved value\n+    description => <<\"Human redable description\">>,  % optional\n+    isDeprecated => true, % optional. Default: false\n+    deprecationReason => <<\"Human redable deprecation reason\">>, % used when isDeprecated => true for introspection tools\n+    args => #{  % map of field arguments\n+      <<\"arg_name\">> => #{\n+        type => ?INT\n+        % optional: description, isDeprecated        \n+      }\n+    },\n+    resolver => fun() -> <<\"resolved string\">>\n+  }\n+})\n+```\n+\n+Resolver - function for resolving field value. Arity and arguments passing:\n+```erlang\n+case erlang:fun_info(Resolver, arity) of\n+  {arity, 0} -> Resolver();\n+  {arity, 1} -> Resolver(ObjectValue);\n+  {arity, 2} -> Resolver(ObjectValue, ArgumentValues);\n+  {arity, 3} -> Resolver(ObjectValue, ArgumentValues, Context)\n+end.\n+```\n+\n+where:\n+\n+- ObjectValue - result of parent resolver (or InitialValue for query root)\n+- ArgumentsValues - map of arguments. When argument not provided in query - value is 'null'\n+- Context - context from parent resolver.\n+\n+Resolver can return resolved value witch passed to scalar serialize function if type is scalar or as ObjectValue\n+for each field in child object type\n+ \n+Resolver can alse overwrite context for his childrens. In this case resolver may look like:\n+```erlang\n+resolver => fun(_,_,Context) ->\n+  {overvrite_context,\n+    <<\"resolved string\">>,\n+    Context#{\n+      additional_context_data => <<\"Data\">>\n+    }\n+  }\n+end\n+```\n+\n+NOTE: additional_context_data avaliable only for children object type in query\n+\n+## Custom scalar types\n+\n+```erlang\n+custom_type()-> #{\n+  kind => 'SCALAR',  % required kind for scalar type\n+  name => 'IntCustom',  % atom\n+  ofType => null,  % used for nested data types\n+  description => <<\n+    \"The `Int` scalar type represents non-fractional signed whole numeric \",\n+    \"values. Int can represent values between -(2^53 - 1) and 2^53 - 1 since \",\n+    \"represented in JSON as double-precision floating point numbers specified \",\n+    \"by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point).\"\n+  >>,\n+\n+  % this function call for serialize resolved value\n+  % Serialize(Result, FieldType, Context);\n+  serialize => fun serialize/3,\n+  \n+  % this function call for parsing variable value\n+  % ParseValue(maps:get(VariableName, VariableValues, null), ArgumentType);\n+  parse_value => fun parse_value/2,\n+  \n+  % this function call for parsing value defined in query","path":"README.md","position":257,"original_position":257,"commit_id":"ae09cfce746ef2e21ba7f04bc46aeab63d26d984","original_commit_id":"ae09cfce746ef2e21ba7f04bc46aeab63d26d984","user":{"login":"jrtidev","id":25369742,"avatar_url":"https://avatars0.githubusercontent.com/u/25369742?v=3","gravatar_id":"","url":"https://api.github.com/users/jrtidev","html_url":"https://github.com/jrtidev","followers_url":"https://api.github.com/users/jrtidev/followers","following_url":"https://api.github.com/users/jrtidev/following{/other_user}","gists_url":"https://api.github.com/users/jrtidev/gists{/gist_id}","starred_url":"https://api.github.com/users/jrtidev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrtidev/subscriptions","organizations_url":"https://api.github.com/users/jrtidev/orgs","repos_url":"https://api.github.com/users/jrtidev/repos","events_url":"https://api.github.com/users/jrtidev/events{/privacy}","received_events_url":"https://api.github.com/users/jrtidev/received_events","type":"User","site_admin":false},"body":"you can call this function to parse the value defined in query","created_at":"2017-03-14T12:09:39Z","updated_at":"2017-03-14T12:09:49Z","html_url":"https://github.com/graphql-erlang/graphql/pull/42#discussion_r105889792","pull_request_url":"https://api.github.com/repos/graphql-erlang/graphql/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/graphql-erlang/graphql/pulls/comments/105889792"},"html":{"href":"https://github.com/graphql-erlang/graphql/pull/42#discussion_r105889792"},"pull_request":{"href":"https://api.github.com/repos/graphql-erlang/graphql/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/graphql-erlang/graphql/pulls/42","id":110590542,"html_url":"https://github.com/graphql-erlang/graphql/pull/42","diff_url":"https://github.com/graphql-erlang/graphql/pull/42.diff","patch_url":"https://github.com/graphql-erlang/graphql/pull/42.patch","issue_url":"https://api.github.com/repos/graphql-erlang/graphql/issues/42","number":42,"state":"open","locked":false,"title":"#3 readme added","user":{"login":"mrChex","id":3603672,"avatar_url":"https://avatars3.githubusercontent.com/u/3603672?v=3","gravatar_id":"","url":"https://api.github.com/users/mrChex","html_url":"https://github.com/mrChex","followers_url":"https://api.github.com/users/mrChex/followers","following_url":"https://api.github.com/users/mrChex/following{/other_user}","gists_url":"https://api.github.com/users/mrChex/gists{/gist_id}","starred_url":"https://api.github.com/users/mrChex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrChex/subscriptions","organizations_url":"https://api.github.com/users/mrChex/orgs","repos_url":"https://api.github.com/users/mrChex/repos","events_url":"https://api.github.com/users/mrChex/events{/privacy}","received_events_url":"https://api.github.com/users/mrChex/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-03-14T10:34:25Z","updated_at":"2017-03-14T12:09:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71ec6ead78fc3881db9a3648e1b431b525cdbb88","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/graphql-erlang/graphql/pulls/42/commits","review_comments_url":"https://api.github.com/repos/graphql-erlang/graphql/pulls/42/comments","review_comment_url":"https://api.github.com/repos/graphql-erlang/graphql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/graphql-erlang/graphql/issues/42/comments","statuses_url":"https://api.github.com/repos/graphql-erlang/graphql/statuses/ae09cfce746ef2e21ba7f04bc46aeab63d26d984","head":{"label":"graphql-erlang:#3-readme","ref":"#3-readme","sha":"ae09cfce746ef2e21ba7f04bc46aeab63d26d984","user":{"login":"graphql-erlang","id":25614408,"avatar_url":"https://avatars2.githubusercontent.com/u/25614408?v=3","gravatar_id":"","url":"https://api.github.com/users/graphql-erlang","html_url":"https://github.com/graphql-erlang","followers_url":"https://api.github.com/users/graphql-erlang/followers","following_url":"https://api.github.com/users/graphql-erlang/following{/other_user}","gists_url":"https://api.github.com/users/graphql-erlang/gists{/gist_id}","starred_url":"https://api.github.com/users/graphql-erlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphql-erlang/subscriptions","organizations_url":"https://api.github.com/users/graphql-erlang/orgs","repos_url":"https://api.github.com/users/graphql-erlang/repos","events_url":"https://api.github.com/users/graphql-erlang/events{/privacy}","received_events_url":"https://api.github.com/users/graphql-erlang/received_events","type":"Organization","site_admin":false},"repo":{"id":81220523,"name":"graphql","full_name":"graphql-erlang/graphql","owner":{"login":"graphql-erlang","id":25614408,"avatar_url":"https://avatars2.githubusercontent.com/u/25614408?v=3","gravatar_id":"","url":"https://api.github.com/users/graphql-erlang","html_url":"https://github.com/graphql-erlang","followers_url":"https://api.github.com/users/graphql-erlang/followers","following_url":"https://api.github.com/users/graphql-erlang/following{/other_user}","gists_url":"https://api.github.com/users/graphql-erlang/gists{/gist_id}","starred_url":"https://api.github.com/users/graphql-erlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphql-erlang/subscriptions","organizations_url":"https://api.github.com/users/graphql-erlang/orgs","repos_url":"https://api.github.com/users/graphql-erlang/repos","events_url":"https://api.github.com/users/graphql-erlang/events{/privacy}","received_events_url":"https://api.github.com/users/graphql-erlang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/graphql-erlang/graphql","description":"Erlang GraphQL implementation","fork":false,"url":"https://api.github.com/repos/graphql-erlang/graphql","forks_url":"https://api.github.com/repos/graphql-erlang/graphql/forks","keys_url":"https://api.github.com/repos/graphql-erlang/graphql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/graphql-erlang/graphql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/graphql-erlang/graphql/teams","hooks_url":"https://api.github.com/repos/graphql-erlang/graphql/hooks","issue_events_url":"https://api.github.com/repos/graphql-erlang/graphql/issues/events{/number}","events_url":"https://api.github.com/repos/graphql-erlang/graphql/events","assignees_url":"https://api.github.com/repos/graphql-erlang/graphql/assignees{/user}","branches_url":"https://api.github.com/repos/graphql-erlang/graphql/branches{/branch}","tags_url":"https://api.github.com/repos/graphql-erlang/graphql/tags","blobs_url":"https://api.github.com/repos/graphql-erlang/graphql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/graphql-erlang/graphql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/graphql-erlang/graphql/git/refs{/sha}","trees_url":"https://api.github.com/repos/graphql-erlang/graphql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/graphql-erlang/graphql/statuses/{sha}","languages_url":"https://api.github.com/repos/graphql-erlang/graphql/languages","stargazers_url":"https://api.github.com/repos/graphql-erlang/graphql/stargazers","contributors_url":"https://api.github.com/repos/graphql-erlang/graphql/contributors","subscribers_url":"https://api.github.com/repos/graphql-erlang/graphql/subscribers","subscription_url":"https://api.github.com/repos/graphql-erlang/graphql/subscription","commits_url":"https://api.github.com/repos/graphql-erlang/graphql/commits{/sha}","git_commits_url":"https://api.github.com/repos/graphql-erlang/graphql/git/commits{/sha}","comments_url":"https://api.github.com/repos/graphql-erlang/graphql/comments{/number}","issue_comment_url":"https://api.github.com/repos/graphql-erlang/graphql/issues/comments{/number}","contents_url":"https://api.github.com/repos/graphql-erlang/graphql/contents/{+path}","compare_url":"https://api.github.com/repos/graphql-erlang/graphql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/graphql-erlang/graphql/merges","archive_url":"https://api.github.com/repos/graphql-erlang/graphql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/graphql-erlang/graphql/downloads","issues_url":"https://api.github.com/repos/graphql-erlang/graphql/issues{/number}","pulls_url":"https://api.github.com/repos/graphql-erlang/graphql/pulls{/number}","milestones_url":"https://api.github.com/repos/graphql-erlang/graphql/milestones{/number}","notifications_url":"https://api.github.com/repos/graphql-erlang/graphql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/graphql-erlang/graphql/labels{/name}","releases_url":"https://api.github.com/repos/graphql-erlang/graphql/releases{/id}","deployments_url":"https://api.github.com/repos/graphql-erlang/graphql/deployments","created_at":"2017-02-07T15:03:49Z","updated_at":"2017-03-13T17:09:24Z","pushed_at":"2017-03-14T10:34:26Z","git_url":"git://github.com/graphql-erlang/graphql.git","ssh_url":"git@github.com:graphql-erlang/graphql.git","clone_url":"https://github.com/graphql-erlang/graphql.git","svn_url":"https://github.com/graphql-erlang/graphql","homepage":null,"size":65,"stargazers_count":6,"watchers_count":6,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":6,"default_branch":"master"}},"base":{"label":"graphql-erlang:master","ref":"master","sha":"9814c624ea246f1046d3679211ba1bcc1b18ad3c","user":{"login":"graphql-erlang","id":25614408,"avatar_url":"https://avatars2.githubusercontent.com/u/25614408?v=3","gravatar_id":"","url":"https://api.github.com/users/graphql-erlang","html_url":"https://github.com/graphql-erlang","followers_url":"https://api.github.com/users/graphql-erlang/followers","following_url":"https://api.github.com/users/graphql-erlang/following{/other_user}","gists_url":"https://api.github.com/users/graphql-erlang/gists{/gist_id}","starred_url":"https://api.github.com/users/graphql-erlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphql-erlang/subscriptions","organizations_url":"https://api.github.com/users/graphql-erlang/orgs","repos_url":"https://api.github.com/users/graphql-erlang/repos","events_url":"https://api.github.com/users/graphql-erlang/events{/privacy}","received_events_url":"https://api.github.com/users/graphql-erlang/received_events","type":"Organization","site_admin":false},"repo":{"id":81220523,"name":"graphql","full_name":"graphql-erlang/graphql","owner":{"login":"graphql-erlang","id":25614408,"avatar_url":"https://avatars2.githubusercontent.com/u/25614408?v=3","gravatar_id":"","url":"https://api.github.com/users/graphql-erlang","html_url":"https://github.com/graphql-erlang","followers_url":"https://api.github.com/users/graphql-erlang/followers","following_url":"https://api.github.com/users/graphql-erlang/following{/other_user}","gists_url":"https://api.github.com/users/graphql-erlang/gists{/gist_id}","starred_url":"https://api.github.com/users/graphql-erlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphql-erlang/subscriptions","organizations_url":"https://api.github.com/users/graphql-erlang/orgs","repos_url":"https://api.github.com/users/graphql-erlang/repos","events_url":"https://api.github.com/users/graphql-erlang/events{/privacy}","received_events_url":"https://api.github.com/users/graphql-erlang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/graphql-erlang/graphql","description":"Erlang GraphQL implementation","fork":false,"url":"https://api.github.com/repos/graphql-erlang/graphql","forks_url":"https://api.github.com/repos/graphql-erlang/graphql/forks","keys_url":"https://api.github.com/repos/graphql-erlang/graphql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/graphql-erlang/graphql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/graphql-erlang/graphql/teams","hooks_url":"https://api.github.com/repos/graphql-erlang/graphql/hooks","issue_events_url":"https://api.github.com/repos/graphql-erlang/graphql/issues/events{/number}","events_url":"https://api.github.com/repos/graphql-erlang/graphql/events","assignees_url":"https://api.github.com/repos/graphql-erlang/graphql/assignees{/user}","branches_url":"https://api.github.com/repos/graphql-erlang/graphql/branches{/branch}","tags_url":"https://api.github.com/repos/graphql-erlang/graphql/tags","blobs_url":"https://api.github.com/repos/graphql-erlang/graphql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/graphql-erlang/graphql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/graphql-erlang/graphql/git/refs{/sha}","trees_url":"https://api.github.com/repos/graphql-erlang/graphql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/graphql-erlang/graphql/statuses/{sha}","languages_url":"https://api.github.com/repos/graphql-erlang/graphql/languages","stargazers_url":"https://api.github.com/repos/graphql-erlang/graphql/stargazers","contributors_url":"https://api.github.com/repos/graphql-erlang/graphql/contributors","subscribers_url":"https://api.github.com/repos/graphql-erlang/graphql/subscribers","subscription_url":"https://api.github.com/repos/graphql-erlang/graphql/subscription","commits_url":"https://api.github.com/repos/graphql-erlang/graphql/commits{/sha}","git_commits_url":"https://api.github.com/repos/graphql-erlang/graphql/git/commits{/sha}","comments_url":"https://api.github.com/repos/graphql-erlang/graphql/comments{/number}","issue_comment_url":"https://api.github.com/repos/graphql-erlang/graphql/issues/comments{/number}","contents_url":"https://api.github.com/repos/graphql-erlang/graphql/contents/{+path}","compare_url":"https://api.github.com/repos/graphql-erlang/graphql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/graphql-erlang/graphql/merges","archive_url":"https://api.github.com/repos/graphql-erlang/graphql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/graphql-erlang/graphql/downloads","issues_url":"https://api.github.com/repos/graphql-erlang/graphql/issues{/number}","pulls_url":"https://api.github.com/repos/graphql-erlang/graphql/pulls{/number}","milestones_url":"https://api.github.com/repos/graphql-erlang/graphql/milestones{/number}","notifications_url":"https://api.github.com/repos/graphql-erlang/graphql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/graphql-erlang/graphql/labels{/name}","releases_url":"https://api.github.com/repos/graphql-erlang/graphql/releases{/id}","deployments_url":"https://api.github.com/repos/graphql-erlang/graphql/deployments","created_at":"2017-02-07T15:03:49Z","updated_at":"2017-03-13T17:09:24Z","pushed_at":"2017-03-14T10:34:26Z","git_url":"git://github.com/graphql-erlang/graphql.git","ssh_url":"git@github.com:graphql-erlang/graphql.git","clone_url":"https://github.com/graphql-erlang/graphql.git","svn_url":"https://github.com/graphql-erlang/graphql","homepage":null,"size":65,"stargazers_count":6,"watchers_count":6,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/graphql-erlang/graphql/pulls/42"},"html":{"href":"https://github.com/graphql-erlang/graphql/pull/42"},"issue":{"href":"https://api.github.com/repos/graphql-erlang/graphql/issues/42"},"comments":{"href":"https://api.github.com/repos/graphql-erlang/graphql/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/graphql-erlang/graphql/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/graphql-erlang/graphql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/graphql-erlang/graphql/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/graphql-erlang/graphql/statuses/ae09cfce746ef2e21ba7f04bc46aeab63d26d984"}}}}
{"actor":{"display_login":"jrtidev"}}