{"action":"created","issue":{"url":"https://api.github.com/repos/scoutforpets/jsonapi-mapper/issues/57","repository_url":"https://api.github.com/repos/scoutforpets/jsonapi-mapper","labels_url":"https://api.github.com/repos/scoutforpets/jsonapi-mapper/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/scoutforpets/jsonapi-mapper/issues/57/comments","events_url":"https://api.github.com/repos/scoutforpets/jsonapi-mapper/issues/57/events","html_url":"https://github.com/scoutforpets/jsonapi-mapper/issues/57","id":171314812,"number":57,"title":"`typeForAttribute` option overriding causing `pluralizeType` not to have an effect","user":{"login":"jamesdixon","id":110114,"avatar_url":"https://avatars.githubusercontent.com/u/110114?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesdixon","html_url":"https://github.com/jamesdixon","followers_url":"https://api.github.com/users/jamesdixon/followers","following_url":"https://api.github.com/users/jamesdixon/following{/other_user}","gists_url":"https://api.github.com/users/jamesdixon/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesdixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesdixon/subscriptions","organizations_url":"https://api.github.com/users/jamesdixon/orgs","repos_url":"https://api.github.com/users/jamesdixon/repos","events_url":"https://api.github.com/users/jamesdixon/events{/privacy}","received_events_url":"https://api.github.com/users/jamesdixon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scoutforpets/jsonapi-mapper/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-16T03:19:27Z","updated_at":"2016-08-16T21:44:38Z","closed_at":null,"body":"@ShadowManu @chamini2 I just upgraded to the beta and am running into a regression where it seems that the options I'm passing directly to the serializer are no longer working.\r\n\r\nSpecifically, I pass in the `pluralizeType` and `keyForAttribute` options. After some investigation, it appears that the addition of the `relationTypes` attribute automatically creates a `typeForAttribute` option which is passed to the serializer.\r\n\r\nI'm not sure I see the point of the `relationTypes` option when this functionality could already be had by just passing in `typeForAttribute` as a serializer option.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/scoutforpets/jsonapi-mapper/issues/comments/240249299","html_url":"https://github.com/scoutforpets/jsonapi-mapper/issues/57#issuecomment-240249299","issue_url":"https://api.github.com/repos/scoutforpets/jsonapi-mapper/issues/57","id":240249299,"user":{"login":"chamini2","id":2745502,"avatar_url":"https://avatars.githubusercontent.com/u/2745502?v=3","gravatar_id":"","url":"https://api.github.com/users/chamini2","html_url":"https://github.com/chamini2","followers_url":"https://api.github.com/users/chamini2/followers","following_url":"https://api.github.com/users/chamini2/following{/other_user}","gists_url":"https://api.github.com/users/chamini2/gists{/gist_id}","starred_url":"https://api.github.com/users/chamini2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamini2/subscriptions","organizations_url":"https://api.github.com/users/chamini2/orgs","repos_url":"https://api.github.com/users/chamini2/repos","events_url":"https://api.github.com/users/chamini2/events{/privacy}","received_events_url":"https://api.github.com/users/chamini2/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T21:44:38Z","updated_at":"2016-08-16T21:44:38Z","body":"@jamesdixon, fixed the bug!\r\n\r\nI'll leave this issue open for discussion or would you prefer to open a new one?"}}
{"actor":{"display_login":"chamini2"}}