{"action":"opened","issue":{"url":"https://api.github.com/repos/calebmer/postgraphql/issues/253","repository_url":"https://api.github.com/repos/calebmer/postgraphql","labels_url":"https://api.github.com/repos/calebmer/postgraphql/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/calebmer/postgraphql/issues/253/comments","events_url":"https://api.github.com/repos/calebmer/postgraphql/issues/253/events","html_url":"https://github.com/calebmer/postgraphql/issues/253","id":191821401,"number":253,"title":"Numeric data type confusion","user":{"login":"JesperWe","id":1643015,"avatar_url":"https://avatars.githubusercontent.com/u/1643015?v=3","gravatar_id":"","url":"https://api.github.com/users/JesperWe","html_url":"https://github.com/JesperWe","followers_url":"https://api.github.com/users/JesperWe/followers","following_url":"https://api.github.com/users/JesperWe/following{/other_user}","gists_url":"https://api.github.com/users/JesperWe/gists{/gist_id}","starred_url":"https://api.github.com/users/JesperWe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JesperWe/subscriptions","organizations_url":"https://api.github.com/users/JesperWe/orgs","repos_url":"https://api.github.com/users/JesperWe/repos","events_url":"https://api.github.com/users/JesperWe/events{/privacy}","received_events_url":"https://api.github.com/users/JesperWe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-26T19:07:12Z","updated_at":"2016-11-26T19:07:12Z","closed_at":null,"body":"I have a plpgsql function defined as:\r\n\r\n```\r\ncreate function treatya.update_account_position( account_id integer, lat double precision, lng double precision)\r\n    returns boolean\r\n    language plpgsql strict security definer as $$\r\n...\r\n```\r\nThis is the Graphiql result:\r\n\r\n![2016-11-26 19_58_52-clipboard](https://cloud.githubusercontent.com/assets/1643015/20642597/58724c52-b413-11e6-834b-f9c1ae229612.png)\r\n\r\nSo the autocomplete sees it as a Float!, but if I try to run the query with a float value it throws an `invalid input syntax for integer` error."}}
{"actor":{"display_login":"JesperWe"}}