{"action":"created","issue":{"url":"https://api.github.com/repos/tobscure/json-api/issues/7","labels_url":"https://api.github.com/repos/tobscure/json-api/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/tobscure/json-api/issues/7/comments","events_url":"https://api.github.com/repos/tobscure/json-api/issues/7/events","html_url":"https://github.com/tobscure/json-api/issues/7","id":43679190,"number":7,"title":"SerializerAbstract attempts to access the Id property directly","user":{"login":"skqr","id":2750955,"avatar_url":"https://avatars.githubusercontent.com/u/2750955?v=3","gravatar_id":"","url":"https://api.github.com/users/skqr","html_url":"https://github.com/skqr","followers_url":"https://api.github.com/users/skqr/followers","following_url":"https://api.github.com/users/skqr/following{/other_user}","gists_url":"https://api.github.com/users/skqr/gists{/gist_id}","starred_url":"https://api.github.com/users/skqr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skqr/subscriptions","organizations_url":"https://api.github.com/users/skqr/orgs","repos_url":"https://api.github.com/users/skqr/repos","events_url":"https://api.github.com/users/skqr/events{/privacy}","received_events_url":"https://api.github.com/users/skqr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-09-23T20:25:28Z","updated_at":"2015-04-23T17:42:02Z","closed_at":null,"body":"I think it would make a lot more sense to use a getter - that way we can maintain encapsulation."},"comment":{"url":"https://api.github.com/repos/tobscure/json-api/issues/comments/95667184","html_url":"https://github.com/tobscure/json-api/issues/7#issuecomment-95667184","issue_url":"https://api.github.com/repos/tobscure/json-api/issues/7","id":95667184,"user":{"login":"bnchdrff","id":99194,"avatar_url":"https://avatars.githubusercontent.com/u/99194?v=3","gravatar_id":"","url":"https://api.github.com/users/bnchdrff","html_url":"https://github.com/bnchdrff","followers_url":"https://api.github.com/users/bnchdrff/followers","following_url":"https://api.github.com/users/bnchdrff/following{/other_user}","gists_url":"https://api.github.com/users/bnchdrff/gists{/gist_id}","starred_url":"https://api.github.com/users/bnchdrff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnchdrff/subscriptions","organizations_url":"https://api.github.com/users/bnchdrff/orgs","repos_url":"https://api.github.com/users/bnchdrff/repos","events_url":"https://api.github.com/users/bnchdrff/events{/privacy}","received_events_url":"https://api.github.com/users/bnchdrff/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T17:42:02Z","updated_at":"2015-04-23T17:42:02Z","body":"my change in \r\nhttps://github.com/bnchdrff/json-api/commit/2f418c15e8001728321e048637d99a12d5cf6bb1 preserves original behavior (expecting `$data->id` to be set) but allows your serializer implementation to define its own `getId`, like \r\n\r\n```php\r\nprotected function getId($ec_term) {\r\n  return entity_extract_ids('taxonomy_term', $ec_term)[0];\r\n}\r\n```"}}