{"action":"created","issue":{"url":"https://api.github.com/repos/jasminb/jsonapi-converter/issues/63","repository_url":"https://api.github.com/repos/jasminb/jsonapi-converter","labels_url":"https://api.github.com/repos/jasminb/jsonapi-converter/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/jasminb/jsonapi-converter/issues/63/comments","events_url":"https://api.github.com/repos/jasminb/jsonapi-converter/issues/63/events","html_url":"https://github.com/jasminb/jsonapi-converter/issues/63","id":169803017,"number":63,"title":"Need Functionality for Meta on a Relationship.","user":{"login":"Kylar42","id":786690,"avatar_url":"https://avatars.githubusercontent.com/u/786690?v=3","gravatar_id":"","url":"https://api.github.com/users/Kylar42","html_url":"https://github.com/Kylar42","followers_url":"https://api.github.com/users/Kylar42/followers","following_url":"https://api.github.com/users/Kylar42/following{/other_user}","gists_url":"https://api.github.com/users/Kylar42/gists{/gist_id}","starred_url":"https://api.github.com/users/Kylar42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kylar42/subscriptions","organizations_url":"https://api.github.com/users/Kylar42/orgs","repos_url":"https://api.github.com/users/Kylar42/repos","events_url":"https://api.github.com/users/Kylar42/events{/privacy}","received_events_url":"https://api.github.com/users/Kylar42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-07T16:04:26Z","updated_at":"2016-09-07T08:05:32Z","closed_at":null,"body":"According to the spec, and this discussion: http://discuss.jsonapi.org/t/metadata-about-relationships/86 There is the ability to specify meta about a relationship that is separate from the  actual object.  If this is supported in the library(I can't find it!) can you provide documentation, or if not, can you define a way to make it work?"},"comment":{"url":"https://api.github.com/repos/jasminb/jsonapi-converter/issues/comments/245206219","html_url":"https://github.com/jasminb/jsonapi-converter/issues/63#issuecomment-245206219","issue_url":"https://api.github.com/repos/jasminb/jsonapi-converter/issues/63","id":245206219,"user":{"login":"jasminb","id":3043239,"avatar_url":"https://avatars.githubusercontent.com/u/3043239?v=3","gravatar_id":"","url":"https://api.github.com/users/jasminb","html_url":"https://github.com/jasminb","followers_url":"https://api.github.com/users/jasminb/followers","following_url":"https://api.github.com/users/jasminb/following{/other_user}","gists_url":"https://api.github.com/users/jasminb/gists{/gist_id}","starred_url":"https://api.github.com/users/jasminb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasminb/subscriptions","organizations_url":"https://api.github.com/users/jasminb/orgs","repos_url":"https://api.github.com/users/jasminb/repos","events_url":"https://api.github.com/users/jasminb/events{/privacy}","received_events_url":"https://api.github.com/users/jasminb/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T08:05:31Z","updated_at":"2016-09-07T08:05:31Z","body":"Hey @Kylar42, what do you think about simply adding a new methods to the `JSONAPIDocument`:\r\n\r\nOne for cases where user has a type defined for relationship meta:\r\n\r\n```\r\npublic <T> T getRelationshipMeta(Object source, Class<?> metaType) {\r\n ...\r\n}\r\n```\r\n\r\nOne of cases where theres no type:\r\n\r\n```\r\npublic Map<String, ?> getRelationshipMeta(Object source) {\r\n\t...\r\n}\r\n```\r\n\r\nInternally, library would keep track of object/meta pairs and store it to `JSONAPIDocument` object."}}
{"actor":{"display_login":"jasminb"}}