{"action":"closed","number":449,"pull_request":{"url":"https://api.github.com/repos/99designs/gqlgen/pulls/449","id":233427479,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNDI3NDc5","html_url":"https://github.com/99designs/gqlgen/pull/449","diff_url":"https://github.com/99designs/gqlgen/pull/449.diff","patch_url":"https://github.com/99designs/gqlgen/pull/449.patch","issue_url":"https://api.github.com/repos/99designs/gqlgen/issues/449","number":449,"state":"closed","locked":false,"title":"Increase float precision","user":{"login":"vektah","id":2247982,"node_id":"MDQ6VXNlcjIyNDc5ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/2247982?v=4","gravatar_id":"","url":"https://api.github.com/users/vektah","html_url":"https://github.com/vektah","followers_url":"https://api.github.com/users/vektah/followers","following_url":"https://api.github.com/users/vektah/following{/other_user}","gists_url":"https://api.github.com/users/vektah/gists{/gist_id}","starred_url":"https://api.github.com/users/vektah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vektah/subscriptions","organizations_url":"https://api.github.com/users/vektah/orgs","repos_url":"https://api.github.com/users/vektah/repos","events_url":"https://api.github.com/users/vektah/events{/privacy}","received_events_url":"https://api.github.com/users/vektah/received_events","type":"User","site_admin":false},"body":"Even though floats internally were being stored as float64, they were being encoded using \"%f\", which limits the outgoing precision to 6 decimal places.\r\n\r\nThis swaps over to use \"%g\" which will show up to 17 decimal places, and fall back to scientific notation when the exponent gets large.\r\n\r\nFix #424\r\n\r\nI have:\r\n - [x] Added tests covering the bug / feature (see [testing](https://github.com/99designs/gqlgen/blob/master/TESTING.md))\r\n","created_at":"2018-11-26T03:16:30Z","updated_at":"2018-11-28T01:54:27Z","closed_at":"2018-11-28T01:54:27Z","merged_at":"2018-11-28T01:54:26Z","merge_commit_sha":"e4bad0e6bd11386d8436e1c268a02ed875b52ef5","assignee":null,"assignees":[],"requested_reviewers":[{"login":"vvakame","id":125332,"node_id":"MDQ6VXNlcjEyNTMzMg==","avatar_url":"https://avatars0.githubusercontent.com/u/125332?v=4","gravatar_id":"","url":"https://api.github.com/users/vvakame","html_url":"https://github.com/vvakame","followers_url":"https://api.github.com/users/vvakame/followers","following_url":"https://api.github.com/users/vvakame/following{/other_user}","gists_url":"https://api.github.com/users/vvakame/gists{/gist_id}","starred_url":"https://api.github.com/users/vvakame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvakame/subscriptions","organizations_url":"https://api.github.com/users/vvakame/orgs","repos_url":"https://api.github.com/users/vvakame/repos","events_url":"https://api.github.com/users/vvakame/events{/privacy}","received_events_url":"https://api.github.com/users/vvakame/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1136215844,"node_id":"MDU6TGFiZWwxMTM2MjE1ODQ0","url":"https://api.github.com/repos/99designs/gqlgen/labels/v0.7","name":"v0.7","color":"a1ff49","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/99designs/gqlgen/pulls/449/commits","review_comments_url":"https://api.github.com/repos/99designs/gqlgen/pulls/449/comments","review_comment_url":"https://api.github.com/repos/99designs/gqlgen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/99designs/gqlgen/issues/449/comments","statuses_url":"https://api.github.com/repos/99designs/gqlgen/statuses/c45546e57a1f73a57d763cde673fe48462314191","head":{"label":"99designs:increase-float-precision","ref":"increase-float-precision","sha":"c45546e57a1f73a57d763cde673fe48462314191","user":{"login":"99designs","id":17182,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTgy","avatar_url":"https://avatars1.githubusercontent.com/u/17182?v=4","gravatar_id":"","url":"https://api.github.com/users/99designs","html_url":"https://github.com/99designs","followers_url":"https://api.github.com/users/99designs/followers","following_url":"https://api.github.com/users/99designs/following{/other_user}","gists_url":"https://api.github.com/users/99designs/gists{/gist_id}","starred_url":"https://api.github.com/users/99designs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/99designs/subscriptions","organizations_url":"https://api.github.com/users/99designs/orgs","repos_url":"https://api.github.com/users/99designs/repos","events_url":"https://api.github.com/users/99designs/events{/privacy}","received_events_url":"https://api.github.com/users/99designs/received_events","type":"Organization","site_admin":false},"repo":{"id":121086193,"node_id":"MDEwOlJlcG9zaXRvcnkxMjEwODYxOTM=","name":"gqlgen","full_name":"99designs/gqlgen","private":false,"owner":{"login":"99designs","id":17182,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTgy","avatar_url":"https://avatars1.githubusercontent.com/u/17182?v=4","gravatar_id":"","url":"https://api.github.com/users/99designs","html_url":"https://github.com/99designs","followers_url":"https://api.github.com/users/99designs/followers","following_url":"https://api.github.com/users/99designs/following{/other_user}","gists_url":"https://api.github.com/users/99designs/gists{/gist_id}","starred_url":"https://api.github.com/users/99designs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/99designs/subscriptions","organizations_url":"https://api.github.com/users/99designs/orgs","repos_url":"https://api.github.com/users/99designs/repos","events_url":"https://api.github.com/users/99designs/events{/privacy}","received_events_url":"https://api.github.com/users/99designs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/99designs/gqlgen","description":"go generate based graphql server library","fork":false,"url":"https://api.github.com/repos/99designs/gqlgen","forks_url":"https://api.github.com/repos/99designs/gqlgen/forks","keys_url":"https://api.github.com/repos/99designs/gqlgen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/99designs/gqlgen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/99designs/gqlgen/teams","hooks_url":"https://api.github.com/repos/99designs/gqlgen/hooks","issue_events_url":"https://api.github.com/repos/99designs/gqlgen/issues/events{/number}","events_url":"https://api.github.com/repos/99designs/gqlgen/events","assignees_url":"https://api.github.com/repos/99designs/gqlgen/assignees{/user}","branches_url":"https://api.github.com/repos/99designs/gqlgen/branches{/branch}","tags_url":"https://api.github.com/repos/99designs/gqlgen/tags","blobs_url":"https://api.github.com/repos/99designs/gqlgen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/99designs/gqlgen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/99designs/gqlgen/git/refs{/sha}","trees_url":"https://api.github.com/repos/99designs/gqlgen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/99designs/gqlgen/statuses/{sha}","languages_url":"https://api.github.com/repos/99designs/gqlgen/languages","stargazers_url":"https://api.github.com/repos/99designs/gqlgen/stargazers","contributors_url":"https://api.github.com/repos/99designs/gqlgen/contributors","subscribers_url":"https://api.github.com/repos/99designs/gqlgen/subscribers","subscription_url":"https://api.github.com/repos/99designs/gqlgen/subscription","commits_url":"https://api.github.com/repos/99designs/gqlgen/commits{/sha}","git_commits_url":"https://api.github.com/repos/99designs/gqlgen/git/commits{/sha}","comments_url":"https://api.github.com/repos/99designs/gqlgen/comments{/number}","issue_comment_url":"https://api.github.com/repos/99designs/gqlgen/issues/comments{/number}","contents_url":"https://api.github.com/repos/99designs/gqlgen/contents/{+path}","compare_url":"https://api.github.com/repos/99designs/gqlgen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/99designs/gqlgen/merges","archive_url":"https://api.github.com/repos/99designs/gqlgen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/99designs/gqlgen/downloads","issues_url":"https://api.github.com/repos/99designs/gqlgen/issues{/number}","pulls_url":"https://api.github.com/repos/99designs/gqlgen/pulls{/number}","milestones_url":"https://api.github.com/repos/99designs/gqlgen/milestones{/number}","notifications_url":"https://api.github.com/repos/99designs/gqlgen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/99designs/gqlgen/labels{/name}","releases_url":"https://api.github.com/repos/99designs/gqlgen/releases{/id}","deployments_url":"https://api.github.com/repos/99designs/gqlgen/deployments","created_at":"2018-02-11T04:54:11Z","updated_at":"2018-11-28T01:54:14Z","pushed_at":"2018-11-28T01:54:26Z","git_url":"git://github.com/99designs/gqlgen.git","ssh_url":"git@github.com:99designs/gqlgen.git","clone_url":"https://github.com/99designs/gqlgen.git","svn_url":"https://github.com/99designs/gqlgen","homepage":"","size":2722,"stargazers_count":1937,"watchers_count":1937,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":126,"mirror_url":null,"archived":false,"open_issues_count":42,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":126,"open_issues":42,"watchers":1937,"default_branch":"master"}},"base":{"label":"99designs:master","ref":"master","sha":"9d636e780e5b1aa3a1290b41e590d207764848a5","user":{"login":"99designs","id":17182,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTgy","avatar_url":"https://avatars1.githubusercontent.com/u/17182?v=4","gravatar_id":"","url":"https://api.github.com/users/99designs","html_url":"https://github.com/99designs","followers_url":"https://api.github.com/users/99designs/followers","following_url":"https://api.github.com/users/99designs/following{/other_user}","gists_url":"https://api.github.com/users/99designs/gists{/gist_id}","starred_url":"https://api.github.com/users/99designs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/99designs/subscriptions","organizations_url":"https://api.github.com/users/99designs/orgs","repos_url":"https://api.github.com/users/99designs/repos","events_url":"https://api.github.com/users/99designs/events{/privacy}","received_events_url":"https://api.github.com/users/99designs/received_events","type":"Organization","site_admin":false},"repo":{"id":121086193,"node_id":"MDEwOlJlcG9zaXRvcnkxMjEwODYxOTM=","name":"gqlgen","full_name":"99designs/gqlgen","private":false,"owner":{"login":"99designs","id":17182,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTgy","avatar_url":"https://avatars1.githubusercontent.com/u/17182?v=4","gravatar_id":"","url":"https://api.github.com/users/99designs","html_url":"https://github.com/99designs","followers_url":"https://api.github.com/users/99designs/followers","following_url":"https://api.github.com/users/99designs/following{/other_user}","gists_url":"https://api.github.com/users/99designs/gists{/gist_id}","starred_url":"https://api.github.com/users/99designs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/99designs/subscriptions","organizations_url":"https://api.github.com/users/99designs/orgs","repos_url":"https://api.github.com/users/99designs/repos","events_url":"https://api.github.com/users/99designs/events{/privacy}","received_events_url":"https://api.github.com/users/99designs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/99designs/gqlgen","description":"go generate based graphql server library","fork":false,"url":"https://api.github.com/repos/99designs/gqlgen","forks_url":"https://api.github.com/repos/99designs/gqlgen/forks","keys_url":"https://api.github.com/repos/99designs/gqlgen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/99designs/gqlgen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/99designs/gqlgen/teams","hooks_url":"https://api.github.com/repos/99designs/gqlgen/hooks","issue_events_url":"https://api.github.com/repos/99designs/gqlgen/issues/events{/number}","events_url":"https://api.github.com/repos/99designs/gqlgen/events","assignees_url":"https://api.github.com/repos/99designs/gqlgen/assignees{/user}","branches_url":"https://api.github.com/repos/99designs/gqlgen/branches{/branch}","tags_url":"https://api.github.com/repos/99designs/gqlgen/tags","blobs_url":"https://api.github.com/repos/99designs/gqlgen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/99designs/gqlgen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/99designs/gqlgen/git/refs{/sha}","trees_url":"https://api.github.com/repos/99designs/gqlgen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/99designs/gqlgen/statuses/{sha}","languages_url":"https://api.github.com/repos/99designs/gqlgen/languages","stargazers_url":"https://api.github.com/repos/99designs/gqlgen/stargazers","contributors_url":"https://api.github.com/repos/99designs/gqlgen/contributors","subscribers_url":"https://api.github.com/repos/99designs/gqlgen/subscribers","subscription_url":"https://api.github.com/repos/99designs/gqlgen/subscription","commits_url":"https://api.github.com/repos/99designs/gqlgen/commits{/sha}","git_commits_url":"https://api.github.com/repos/99designs/gqlgen/git/commits{/sha}","comments_url":"https://api.github.com/repos/99designs/gqlgen/comments{/number}","issue_comment_url":"https://api.github.com/repos/99designs/gqlgen/issues/comments{/number}","contents_url":"https://api.github.com/repos/99designs/gqlgen/contents/{+path}","compare_url":"https://api.github.com/repos/99designs/gqlgen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/99designs/gqlgen/merges","archive_url":"https://api.github.com/repos/99designs/gqlgen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/99designs/gqlgen/downloads","issues_url":"https://api.github.com/repos/99designs/gqlgen/issues{/number}","pulls_url":"https://api.github.com/repos/99designs/gqlgen/pulls{/number}","milestones_url":"https://api.github.com/repos/99designs/gqlgen/milestones{/number}","notifications_url":"https://api.github.com/repos/99designs/gqlgen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/99designs/gqlgen/labels{/name}","releases_url":"https://api.github.com/repos/99designs/gqlgen/releases{/id}","deployments_url":"https://api.github.com/repos/99designs/gqlgen/deployments","created_at":"2018-02-11T04:54:11Z","updated_at":"2018-11-28T01:54:14Z","pushed_at":"2018-11-28T01:54:26Z","git_url":"git://github.com/99designs/gqlgen.git","ssh_url":"git@github.com:99designs/gqlgen.git","clone_url":"https://github.com/99designs/gqlgen.git","svn_url":"https://github.com/99designs/gqlgen","homepage":"","size":2722,"stargazers_count":1937,"watchers_count":1937,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":126,"mirror_url":null,"archived":false,"open_issues_count":42,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":126,"open_issues":42,"watchers":1937,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/99designs/gqlgen/pulls/449"},"html":{"href":"https://github.com/99designs/gqlgen/pull/449"},"issue":{"href":"https://api.github.com/repos/99designs/gqlgen/issues/449"},"comments":{"href":"https://api.github.com/repos/99designs/gqlgen/issues/449/comments"},"review_comments":{"href":"https://api.github.com/repos/99designs/gqlgen/pulls/449/comments"},"review_comment":{"href":"https://api.github.com/repos/99designs/gqlgen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/99designs/gqlgen/pulls/449/commits"},"statuses":{"href":"https://api.github.com/repos/99designs/gqlgen/statuses/c45546e57a1f73a57d763cde673fe48462314191"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"vektah","id":2247982,"node_id":"MDQ6VXNlcjIyNDc5ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/2247982?v=4","gravatar_id":"","url":"https://api.github.com/users/vektah","html_url":"https://github.com/vektah","followers_url":"https://api.github.com/users/vektah/followers","following_url":"https://api.github.com/users/vektah/following{/other_user}","gists_url":"https://api.github.com/users/vektah/gists{/gist_id}","starred_url":"https://api.github.com/users/vektah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vektah/subscriptions","organizations_url":"https://api.github.com/users/vektah/orgs","repos_url":"https://api.github.com/users/vektah/repos","events_url":"https://api.github.com/users/vektah/events{/privacy}","received_events_url":"https://api.github.com/users/vektah/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":24,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"vektah"}}