{"action":"closed","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/4005","repository_url":"https://api.github.com/repos/sequelize/sequelize","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/4005/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/4005/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/4005/events","html_url":"https://github.com/sequelize/sequelize/issues/4005","id":90781855,"number":4005,"title":"Field \"options\" with type JSONB causes weird behaviour","user":{"login":"skeskinen","id":908332,"avatar_url":"https://avatars0.githubusercontent.com/u/908332?v=3","gravatar_id":"","url":"https://api.github.com/users/skeskinen","html_url":"https://github.com/skeskinen","followers_url":"https://api.github.com/users/skeskinen/followers","following_url":"https://api.github.com/users/skeskinen/following{/other_user}","gists_url":"https://api.github.com/users/skeskinen/gists{/gist_id}","starred_url":"https://api.github.com/users/skeskinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skeskinen/subscriptions","organizations_url":"https://api.github.com/users/skeskinen/orgs","repos_url":"https://api.github.com/users/skeskinen/repos","events_url":"https://api.github.com/users/skeskinen/events{/privacy}","received_events_url":"https://api.github.com/users/skeskinen/received_events","type":"User","site_admin":false},"labels":[{"id":28979678,"url":"https://api.github.com/repos/sequelize/sequelize/labels/bug","name":"bug","color":"d7e102","default":true},{"id":636646701,"url":"https://api.github.com/repos/sequelize/sequelize/labels/stale","name":"stale","color":"aaaaaa","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-06-24T21:14:14Z","updated_at":"2017-07-07T00:27:30Z","closed_at":"2017-07-07T00:27:30Z","body":"If you name one of your fields `options` it conflicts with Sequelize internals.\nThe nasty part about this is that if you aren't actually using the said field (yet) the problem can manifest in really weird ways, for example eager loading breaks.\nThere should at least be a warning if you try to use one of the \"reserved\" variable names in your own code (options, dataValues, hasPrimaryKeys, isNewRecord).\n"}}
{"actor":{"display_login":"probot-stale"}}