{"action":"created","issue":{"url":"https://api.github.com/repos/mapstruct/mapstruct/issues/687","labels_url":"https://api.github.com/repos/mapstruct/mapstruct/issues/687/labels{/name}","comments_url":"https://api.github.com/repos/mapstruct/mapstruct/issues/687/comments","events_url":"https://api.github.com/repos/mapstruct/mapstruct/issues/687/events","html_url":"https://github.com/mapstruct/mapstruct/issues/687","id":116051861,"number":687,"title":"Generic property type is not determined correctly if an @Mapping is given","user":{"login":"agudian","id":2737102,"avatar_url":"https://avatars.githubusercontent.com/u/2737102?v=3","gravatar_id":"","url":"https://api.github.com/users/agudian","html_url":"https://github.com/agudian","followers_url":"https://api.github.com/users/agudian/followers","following_url":"https://api.github.com/users/agudian/following{/other_user}","gists_url":"https://api.github.com/users/agudian/gists{/gist_id}","starred_url":"https://api.github.com/users/agudian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agudian/subscriptions","organizations_url":"https://api.github.com/users/agudian/orgs","repos_url":"https://api.github.com/users/agudian/repos","events_url":"https://api.github.com/users/agudian/events{/privacy}","received_events_url":"https://api.github.com/users/agudian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapstruct/mapstruct/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"agudian","id":2737102,"avatar_url":"https://avatars.githubusercontent.com/u/2737102?v=3","gravatar_id":"","url":"https://api.github.com/users/agudian","html_url":"https://github.com/agudian","followers_url":"https://api.github.com/users/agudian/followers","following_url":"https://api.github.com/users/agudian/following{/other_user}","gists_url":"https://api.github.com/users/agudian/gists{/gist_id}","starred_url":"https://api.github.com/users/agudian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agudian/subscriptions","organizations_url":"https://api.github.com/users/agudian/orgs","repos_url":"https://api.github.com/users/agudian/repos","events_url":"https://api.github.com/users/agudian/events{/privacy}","received_events_url":"https://api.github.com/users/agudian/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mapstruct/mapstruct/milestones/10","html_url":"https://github.com/mapstruct/mapstruct/milestones/1.0.0.Final","labels_url":"https://api.github.com/repos/mapstruct/mapstruct/milestones/10/labels","id":1261242,"number":10,"title":"1.0.0.Final","description":"","creator":{"login":"gunnarmorling","id":28612,"avatar_url":"https://avatars.githubusercontent.com/u/28612?v=3","gravatar_id":"","url":"https://api.github.com/users/gunnarmorling","html_url":"https://github.com/gunnarmorling","followers_url":"https://api.github.com/users/gunnarmorling/followers","following_url":"https://api.github.com/users/gunnarmorling/following{/other_user}","gists_url":"https://api.github.com/users/gunnarmorling/gists{/gist_id}","starred_url":"https://api.github.com/users/gunnarmorling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunnarmorling/subscriptions","organizations_url":"https://api.github.com/users/gunnarmorling/orgs","repos_url":"https://api.github.com/users/gunnarmorling/repos","events_url":"https://api.github.com/users/gunnarmorling/events{/privacy}","received_events_url":"https://api.github.com/users/gunnarmorling/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":8,"state":"open","created_at":"2015-08-18T19:04:48Z","updated_at":"2015-11-18T22:20:51Z","due_on":"2015-11-23T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-11-10T07:23:14Z","updated_at":"2015-11-18T22:20:51Z","closed_at":"2015-11-18T22:20:51Z","body":"If you have a generic source property accessor 'T getItem()' and configure an '@Mapping(source=\"item\", ...)', then the generic type is not resolved for the accessor method within the declared source type.\r\n\r\nCan be reproduced with the test case I added to the asMemberOf PR. The fix is also alredy included there as a separate commit (which will get a new commit message)."},"comment":{"url":"https://api.github.com/repos/mapstruct/mapstruct/issues/comments/157883326","html_url":"https://github.com/mapstruct/mapstruct/issues/687#issuecomment-157883326","issue_url":"https://api.github.com/repos/mapstruct/mapstruct/issues/687","id":157883326,"user":{"login":"gunnarmorling","id":28612,"avatar_url":"https://avatars.githubusercontent.com/u/28612?v=3","gravatar_id":"","url":"https://api.github.com/users/gunnarmorling","html_url":"https://github.com/gunnarmorling","followers_url":"https://api.github.com/users/gunnarmorling/followers","following_url":"https://api.github.com/users/gunnarmorling/following{/other_user}","gists_url":"https://api.github.com/users/gunnarmorling/gists{/gist_id}","starred_url":"https://api.github.com/users/gunnarmorling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunnarmorling/subscriptions","organizations_url":"https://api.github.com/users/gunnarmorling/orgs","repos_url":"https://api.github.com/users/gunnarmorling/repos","events_url":"https://api.github.com/users/gunnarmorling/events{/privacy}","received_events_url":"https://api.github.com/users/gunnarmorling/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T22:20:51Z","updated_at":"2015-11-18T22:20:51Z","body":"Done."}}