{"action":"created","issue":{"url":"https://api.github.com/repos/DockYard/ember-suave/issues/136","repository_url":"https://api.github.com/repos/DockYard/ember-suave","labels_url":"https://api.github.com/repos/DockYard/ember-suave/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/DockYard/ember-suave/issues/136/comments","events_url":"https://api.github.com/repos/DockYard/ember-suave/issues/136/events","html_url":"https://github.com/DockYard/ember-suave/issues/136","id":169135395,"number":136,"title":"disallowDirectPropertyAccess in conflict with blueprints","user":{"login":"Suven","id":465894,"avatar_url":"https://avatars.githubusercontent.com/u/465894?v=3","gravatar_id":"","url":"https://api.github.com/users/Suven","html_url":"https://github.com/Suven","followers_url":"https://api.github.com/users/Suven/followers","following_url":"https://api.github.com/users/Suven/following{/other_user}","gists_url":"https://api.github.com/users/Suven/gists{/gist_id}","starred_url":"https://api.github.com/users/Suven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Suven/subscriptions","organizations_url":"https://api.github.com/users/Suven/orgs","repos_url":"https://api.github.com/users/Suven/repos","events_url":"https://api.github.com/users/Suven/events{/privacy}","received_events_url":"https://api.github.com/users/Suven/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-03T13:46:38Z","updated_at":"2016-08-03T15:53:44Z","closed_at":null,"body":"Hey,\r\n\r\nIn edb98f6 disallowDirectPropertyAccess was changed to true for Ember.\r\n\r\nAs of Ember 2.7, the [blueprints are generating the opposite](http://emberjs.com/blog/2016/07/25/ember-data-2-7-released.html#toc_blueprint-changes)..\r\n\r\nPersonally I don't like the Constant-Handling as it might also introduce nameconflicts just for saving a few symbols, but that shouldn't matter. What should matter is that this introduces a split to what another part of the ember-community suggests."},"comment":{"url":"https://api.github.com/repos/DockYard/ember-suave/issues/comments/237280074","html_url":"https://github.com/DockYard/ember-suave/issues/136#issuecomment-237280074","issue_url":"https://api.github.com/repos/DockYard/ember-suave/issues/136","id":237280074,"user":{"login":"brzpegasus","id":1691398,"avatar_url":"https://avatars.githubusercontent.com/u/1691398?v=3","gravatar_id":"","url":"https://api.github.com/users/brzpegasus","html_url":"https://github.com/brzpegasus","followers_url":"https://api.github.com/users/brzpegasus/followers","following_url":"https://api.github.com/users/brzpegasus/following{/other_user}","gists_url":"https://api.github.com/users/brzpegasus/gists{/gist_id}","starred_url":"https://api.github.com/users/brzpegasus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brzpegasus/subscriptions","organizations_url":"https://api.github.com/users/brzpegasus/orgs","repos_url":"https://api.github.com/users/brzpegasus/repos","events_url":"https://api.github.com/users/brzpegasus/events{/privacy}","received_events_url":"https://api.github.com/users/brzpegasus/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T15:53:44Z","updated_at":"2016-08-03T15:53:44Z","body":"The blueprint change suggests moving away from the more granular `Model`, `attr`, etc. module imports because it requires that developers remember the actual module paths, which are not always intuitive.\r\n\r\nThe `disallowDirectPropertyAccess` rule isn't forcing you to use those modules. It just discourages accessing properties off of `DS` directly. Instead, you would import `DS` from `ember-data`, then use object destructuring:\r\n\r\n```js\r\nimport DS from 'ember-data';\r\n\r\nconst { Model, attr } = DS;\r\n```\r\n\r\nNote that the same applies to destructuring things from `Ember`, even though the blueprints have never made it the default."}}
{"actor":{"display_login":"brzpegasus"}}