{"action":"created","issue":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/3961","labels_url":"https://api.github.com/repos/Sylius/Sylius/issues/3961/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/3961/comments","events_url":"https://api.github.com/repos/Sylius/Sylius/issues/3961/events","html_url":"https://github.com/Sylius/Sylius/pull/3961","id":128341701,"number":3961,"title":"Introduce CodeAwareTrait into Resource component","user":{"login":"stloyd","id":67402,"avatar_url":"https://avatars.githubusercontent.com/u/67402?v=3","gravatar_id":"","url":"https://api.github.com/users/stloyd","html_url":"https://github.com/stloyd","followers_url":"https://api.github.com/users/stloyd/followers","following_url":"https://api.github.com/users/stloyd/following{/other_user}","gists_url":"https://api.github.com/users/stloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/stloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stloyd/subscriptions","organizations_url":"https://api.github.com/users/stloyd/orgs","repos_url":"https://api.github.com/users/stloyd/repos","events_url":"https://api.github.com/users/stloyd/events{/privacy}","received_events_url":"https://api.github.com/users/stloyd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Sylius/Sylius/labels/RFC","name":"RFC","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-23T17:38:06Z","updated_at":"2016-01-29T08:02:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Sylius/Sylius/pulls/3961","html_url":"https://github.com/Sylius/Sylius/pull/3961","diff_url":"https://github.com/Sylius/Sylius/pull/3961.diff","patch_url":"https://github.com/Sylius/Sylius/pull/3961.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | yes\r\n| BC breaks?    | no\r\n| License       | MIT"},"comment":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/comments/176632350","html_url":"https://github.com/Sylius/Sylius/pull/3961#issuecomment-176632350","issue_url":"https://api.github.com/repos/Sylius/Sylius/issues/3961","id":176632350,"user":{"login":"stloyd","id":67402,"avatar_url":"https://avatars.githubusercontent.com/u/67402?v=3","gravatar_id":"","url":"https://api.github.com/users/stloyd","html_url":"https://github.com/stloyd","followers_url":"https://api.github.com/users/stloyd/followers","following_url":"https://api.github.com/users/stloyd/following{/other_user}","gists_url":"https://api.github.com/users/stloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/stloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stloyd/subscriptions","organizations_url":"https://api.github.com/users/stloyd/orgs","repos_url":"https://api.github.com/users/stloyd/repos","events_url":"https://api.github.com/users/stloyd/events{/privacy}","received_events_url":"https://api.github.com/users/stloyd/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T08:02:15Z","updated_at":"2016-01-29T08:02:15Z","body":"Let's ignore that \"optimize\" commit as it should not land here (my fault by forgetting to switch branches).\r\n\r\nAbout trait's that are \"*AwareOfSomething\", IMO when it comes to components, it makes developing much easier, i.e. `OriginAwareTrait`, it same approach as Symfony has for `ContainerAwareTrait` (talking about approach not behavior of related code).\r\n\r\nSkiping that `CodeAwareTrait` is bad name, same as all those `CodeAwareInterface` (IIRC I told that name is wrong ;)) cause it's not really a \"code\", it's \"internal name\" or more correct \"internal identifier\"..."}}