{"action":"created","issue":{"url":"https://api.github.com/repos/scott-mcdonald/JsonApiFramework/issues/22","repository_url":"https://api.github.com/repos/scott-mcdonald/JsonApiFramework","labels_url":"https://api.github.com/repos/scott-mcdonald/JsonApiFramework/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/scott-mcdonald/JsonApiFramework/issues/22/comments","events_url":"https://api.github.com/repos/scott-mcdonald/JsonApiFramework/issues/22/events","html_url":"https://github.com/scott-mcdonald/JsonApiFramework/issues/22","id":196481483,"number":22,"title":"Cant get related resource","user":{"login":"wayne-o","id":178060,"avatar_url":"https://avatars.githubusercontent.com/u/178060?v=3","gravatar_id":"","url":"https://api.github.com/users/wayne-o","html_url":"https://github.com/wayne-o","followers_url":"https://api.github.com/users/wayne-o/followers","following_url":"https://api.github.com/users/wayne-o/following{/other_user}","gists_url":"https://api.github.com/users/wayne-o/gists{/gist_id}","starred_url":"https://api.github.com/users/wayne-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wayne-o/subscriptions","organizations_url":"https://api.github.com/users/wayne-o/orgs","repos_url":"https://api.github.com/users/wayne-o/repos","events_url":"https://api.github.com/users/wayne-o/events{/privacy}","received_events_url":"https://api.github.com/users/wayne-o/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-12-19T18:02:26Z","updated_at":"2016-12-24T18:59:01Z","closed_at":null,"body":"I'm sending the following PATCH from my UI:\r\n\r\n```{\"data\":{\"id\":\"4221fe2f-ca7b-425d-b45a-a09f4936a22b\",\"attributes\":{\"contact-trade-name\":\"asdad\",\"contact-name\":\"aasd\",\"contact-phone\":\"asdad\",\"contact-email\":\"asdad@adasd.asd\",\"created-date\":\"2016-12-19T14:07:59.833\",\"status\":\"AwaitingBillData\"},\"relationships\":{\"share-user\":{\"data\":{\"type\":\"users\",\"id\":\"5078b2ee-2348-44f5-95a0-3c14c2ad2b1d\"}}},\"type\":\"jobs\"}}```\r\n\r\nAnd on my server i am doing the following:\r\n\r\n```\r\nusing (var documentContext = new DocumentContext(HttpContext.Current.Request.Url, document))\r\n        {\r\n                    var job = documentContext.GetResource<Job>();\r\n\r\n                    var relationships = documentContext.GetResourceRelationships(job);\r\n                    var shareUserRel = relationships[\"share-user\"];\r\n                    var shareUser =  documentContext.GetRelatedResource<Data.ServiceModel.User>(shareUserRel);\r\n        }\r\n```\r\n\r\nhowever `shareUser` is always `null` \r\n\r\nshareUserRel has the following when i inspect it:\r\n\r\n```{ResourceIdentifier [type=users id=5078b2ee-2348-44f5-95a0-3c14c2ad2b1d]}```\r\n\r\nif that helps.\r\n\r\nIs there anything glaringly obvious that i might be doing wrong?"},"comment":{"url":"https://api.github.com/repos/scott-mcdonald/JsonApiFramework/issues/comments/269096293","html_url":"https://github.com/scott-mcdonald/JsonApiFramework/issues/22#issuecomment-269096293","issue_url":"https://api.github.com/repos/scott-mcdonald/JsonApiFramework/issues/22","id":269096293,"user":{"login":"scott-mcdonald","id":8608244,"avatar_url":"https://avatars.githubusercontent.com/u/8608244?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-mcdonald","html_url":"https://github.com/scott-mcdonald","followers_url":"https://api.github.com/users/scott-mcdonald/followers","following_url":"https://api.github.com/users/scott-mcdonald/following{/other_user}","gists_url":"https://api.github.com/users/scott-mcdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-mcdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-mcdonald/subscriptions","organizations_url":"https://api.github.com/users/scott-mcdonald/orgs","repos_url":"https://api.github.com/users/scott-mcdonald/repos","events_url":"https://api.github.com/users/scott-mcdonald/events{/privacy}","received_events_url":"https://api.github.com/users/scott-mcdonald/received_events","type":"User","site_admin":false},"created_at":"2016-12-24T18:59:01Z","updated_at":"2016-12-24T18:59:01Z","body":"@krilbert Can you explain with more detail what the Meta serializer settings issue actually is?"}}
{"actor":{"display_login":"scott-mcdonald"}}