{"action":"created","issue":{"url":"https://api.github.com/repos/stefanpenner/ember-state-services/issues/28","labels_url":"https://api.github.com/repos/stefanpenner/ember-state-services/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/stefanpenner/ember-state-services/issues/28/comments","events_url":"https://api.github.com/repos/stefanpenner/ember-state-services/issues/28/events","html_url":"https://github.com/stefanpenner/ember-state-services/issues/28","id":103430189,"number":28,"title":"API idea.","user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-27T05:15:47Z","updated_at":"2015-09-06T21:57:51Z","closed_at":null,"body":"rather then inject +  cp\r\n\r\nit would be nice to do.\r\n\r\n```\r\nstate: stateFor('email', { key: 'email' })\r\n\r\n// or\r\n\r\nstate: stateFor('email', { key: function(attr, state) { return // w/e you can think of})\r\n```\r\n\r\nin most cases we can likely auto-generate the state service itself, only making the state objects something the user needs to deal with.\r\n\r\ncc @thoov "},"comment":{"url":"https://api.github.com/repos/stefanpenner/ember-state-services/issues/comments/138129116","html_url":"https://github.com/stefanpenner/ember-state-services/issues/28#issuecomment-138129116","issue_url":"https://api.github.com/repos/stefanpenner/ember-state-services/issues/28","id":138129116,"user":{"login":"thoov","id":166909,"avatar_url":"https://avatars.githubusercontent.com/u/166909?v=3","gravatar_id":"","url":"https://api.github.com/users/thoov","html_url":"https://github.com/thoov","followers_url":"https://api.github.com/users/thoov/followers","following_url":"https://api.github.com/users/thoov/following{/other_user}","gists_url":"https://api.github.com/users/thoov/gists{/gist_id}","starred_url":"https://api.github.com/users/thoov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoov/subscriptions","organizations_url":"https://api.github.com/users/thoov/orgs","repos_url":"https://api.github.com/users/thoov/repos","events_url":"https://api.github.com/users/thoov/events{/privacy}","received_events_url":"https://api.github.com/users/thoov/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T21:57:51Z","updated_at":"2015-09-06T21:57:51Z","body":"@jasonmit ya I am sending another PR with an updated example and I will be updating the readme "}}