{"action":"created","issue":{"url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1403","repository_url":"https://api.github.com/repos/AutoMapper/AutoMapper","labels_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1403/labels{/name}","comments_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1403/comments","events_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1403/events","html_url":"https://github.com/AutoMapper/AutoMapper/issues/1403","id":162957767,"number":1403,"title":"IMappingExpression TypeMap","user":{"login":"jekcom","id":4057992,"avatar_url":"https://avatars.githubusercontent.com/u/4057992?v=3","gravatar_id":"","url":"https://api.github.com/users/jekcom","html_url":"https://github.com/jekcom","followers_url":"https://api.github.com/users/jekcom/followers","following_url":"https://api.github.com/users/jekcom/following{/other_user}","gists_url":"https://api.github.com/users/jekcom/gists{/gist_id}","starred_url":"https://api.github.com/users/jekcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekcom/subscriptions","organizations_url":"https://api.github.com/users/jekcom/orgs","repos_url":"https://api.github.com/users/jekcom/repos","events_url":"https://api.github.com/users/jekcom/events{/privacy}","received_events_url":"https://api.github.com/users/jekcom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-29T15:36:45Z","updated_at":"2016-06-30T07:52:42Z","closed_at":null,"body":"Referencing this issue : #678 the property TypeMap is gone from IMappingExpression in 5.0 and now it doesn't compile "},"comment":{"url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/comments/229587445","html_url":"https://github.com/AutoMapper/AutoMapper/issues/1403#issuecomment-229587445","issue_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1403","id":229587445,"user":{"login":"jekcom","id":4057992,"avatar_url":"https://avatars.githubusercontent.com/u/4057992?v=3","gravatar_id":"","url":"https://api.github.com/users/jekcom","html_url":"https://github.com/jekcom","followers_url":"https://api.github.com/users/jekcom/followers","following_url":"https://api.github.com/users/jekcom/following{/other_user}","gists_url":"https://api.github.com/users/jekcom/gists{/gist_id}","starred_url":"https://api.github.com/users/jekcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekcom/subscriptions","organizations_url":"https://api.github.com/users/jekcom/orgs","repos_url":"https://api.github.com/users/jekcom/repos","events_url":"https://api.github.com/users/jekcom/events{/privacy}","received_events_url":"https://api.github.com/users/jekcom/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T07:52:42Z","updated_at":"2016-06-30T07:52:42Z","body":"We have extension method for ignoring all not mapped properties when reversing the map. Without this method we would need to ignore each property one by one manually.\r\n\r\n`        public static IMappingExpression<TSource, TDestination> IgnoreAllNonExisting<TSource, TDestination>(this IMappingExpression<TSource, TDestination> expression)\r\n        {\r\n            foreach (var property in expression.TypeMap.GetUnmappedPropertyNames())\r\n            {\r\n                expression.ForMember(property, opt => opt.Ignore());\r\n            }\r\n            return expression;\r\n        }`"}}
{"actor":{"display_login":"jekcom"}}