{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/4197","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/4197/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/4197/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/4197/events","html_url":"https://github.com/sequelize/sequelize/issues/4197","id":97534678,"number":4197,"title":"Postgres decimals/numeric handling changed in 3.5.1?","user":{"login":"cwhatley","id":573757,"avatar_url":"https://avatars.githubusercontent.com/u/573757?v=3","gravatar_id":"","url":"https://api.github.com/users/cwhatley","html_url":"https://github.com/cwhatley","followers_url":"https://api.github.com/users/cwhatley/followers","following_url":"https://api.github.com/users/cwhatley/following{/other_user}","gists_url":"https://api.github.com/users/cwhatley/gists{/gist_id}","starred_url":"https://api.github.com/users/cwhatley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwhatley/subscriptions","organizations_url":"https://api.github.com/users/cwhatley/orgs","repos_url":"https://api.github.com/users/cwhatley/repos","events_url":"https://api.github.com/users/cwhatley/events{/privacy}","received_events_url":"https://api.github.com/users/cwhatley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"janmeier","id":1210224,"avatar_url":"https://avatars.githubusercontent.com/u/1210224?v=3","gravatar_id":"","url":"https://api.github.com/users/janmeier","html_url":"https://github.com/janmeier","followers_url":"https://api.github.com/users/janmeier/followers","following_url":"https://api.github.com/users/janmeier/following{/other_user}","gists_url":"https://api.github.com/users/janmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/janmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmeier/subscriptions","organizations_url":"https://api.github.com/users/janmeier/orgs","repos_url":"https://api.github.com/users/janmeier/repos","events_url":"https://api.github.com/users/janmeier/events{/privacy}","received_events_url":"https://api.github.com/users/janmeier/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-27T19:16:21Z","updated_at":"2015-07-27T19:27:38Z","closed_at":null,"body":"For numeric/decimal fields, I'm getting numbers instead of strings back in queries and insert/update is failing when strings are provided now.\r\n\r\nIs there a setting now for getting one behavior or the other or are numeric/decimals going to be \"numbers in/numbers out\" now?"},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/comments/125317806","html_url":"https://github.com/sequelize/sequelize/issues/4197#issuecomment-125317806","issue_url":"https://api.github.com/repos/sequelize/sequelize/issues/4197","id":125317806,"user":{"login":"mickhansen","id":699049,"avatar_url":"https://avatars.githubusercontent.com/u/699049?v=3","gravatar_id":"","url":"https://api.github.com/users/mickhansen","html_url":"https://github.com/mickhansen","followers_url":"https://api.github.com/users/mickhansen/followers","following_url":"https://api.github.com/users/mickhansen/following{/other_user}","gists_url":"https://api.github.com/users/mickhansen/gists{/gist_id}","starred_url":"https://api.github.com/users/mickhansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickhansen/subscriptions","organizations_url":"https://api.github.com/users/mickhansen/orgs","repos_url":"https://api.github.com/users/mickhansen/repos","events_url":"https://api.github.com/users/mickhansen/events{/privacy}","received_events_url":"https://api.github.com/users/mickhansen/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T19:27:38Z","updated_at":"2015-07-27T19:27:38Z","body":"@janmeier we are parsing decimal/numeric? won't there be a precision loss?\r\n@cwhatley we introduced type validators for all types, so strings aren't allowed as allowed as numbers as vice verca, we're considering reverting that since the RDBMS can usually handle number to string and inverse, but not sure yet."}}