{"action":"created","issue":{"url":"https://api.github.com/repos/TinyMapper/TinyMapper/issues/6","labels_url":"https://api.github.com/repos/TinyMapper/TinyMapper/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/TinyMapper/TinyMapper/issues/6/comments","events_url":"https://api.github.com/repos/TinyMapper/TinyMapper/issues/6/events","html_url":"https://github.com/TinyMapper/TinyMapper/issues/6","id":74883601,"number":6,"title":"Support mapping collection properties without using TypeConverter","user":{"login":"cvetomirtodorov","id":4437252,"avatar_url":"https://avatars.githubusercontent.com/u/4437252?v=3","gravatar_id":"","url":"https://api.github.com/users/cvetomirtodorov","html_url":"https://github.com/cvetomirtodorov","followers_url":"https://api.github.com/users/cvetomirtodorov/followers","following_url":"https://api.github.com/users/cvetomirtodorov/following{/other_user}","gists_url":"https://api.github.com/users/cvetomirtodorov/gists{/gist_id}","starred_url":"https://api.github.com/users/cvetomirtodorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvetomirtodorov/subscriptions","organizations_url":"https://api.github.com/users/cvetomirtodorov/orgs","repos_url":"https://api.github.com/users/cvetomirtodorov/repos","events_url":"https://api.github.com/users/cvetomirtodorov/events{/privacy}","received_events_url":"https://api.github.com/users/cvetomirtodorov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TinyMapper/TinyMapper/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"GSerjo","id":1163475,"avatar_url":"https://avatars.githubusercontent.com/u/1163475?v=3","gravatar_id":"","url":"https://api.github.com/users/GSerjo","html_url":"https://github.com/GSerjo","followers_url":"https://api.github.com/users/GSerjo/followers","following_url":"https://api.github.com/users/GSerjo/following{/other_user}","gists_url":"https://api.github.com/users/GSerjo/gists{/gist_id}","starred_url":"https://api.github.com/users/GSerjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GSerjo/subscriptions","organizations_url":"https://api.github.com/users/GSerjo/orgs","repos_url":"https://api.github.com/users/GSerjo/repos","events_url":"https://api.github.com/users/GSerjo/events{/privacy}","received_events_url":"https://api.github.com/users/GSerjo/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-05-10T10:00:01Z","updated_at":"2015-05-16T16:04:20Z","closed_at":null,"body":"This is more of a feature request rather than an issue.\r\n\r\nYes - TinyMapper seems to be much faster than AutoMapper. But the problem is that your complex mapping approach eliminates the need for using an object mapper. If I want to map objects containing collections I'd rather do a manual mapping method than creating a `TypeConverter`.\r\n\r\nSo, bottom line is that I want to map classes like these:\r\n\r\n    class Parent \r\n    {\r\n      public Parent()\r\n      {\r\n        Children = new List<Child>();\r\n      }\r\n      public string Name {get;set;}\r\n      public List<Child> Children {get;private set;}\r\n    }\r\n    \r\n    class Child\r\n    {\r\n      public string Name {get;set;}\r\n    }\r\n\r\n**without** using a `TypeConverter`."},"comment":{"url":"https://api.github.com/repos/TinyMapper/TinyMapper/issues/comments/102643826","html_url":"https://github.com/TinyMapper/TinyMapper/issues/6#issuecomment-102643826","issue_url":"https://api.github.com/repos/TinyMapper/TinyMapper/issues/6","id":102643826,"user":{"login":"GSerjo","id":1163475,"avatar_url":"https://avatars.githubusercontent.com/u/1163475?v=3","gravatar_id":"","url":"https://api.github.com/users/GSerjo","html_url":"https://github.com/GSerjo","followers_url":"https://api.github.com/users/GSerjo/followers","following_url":"https://api.github.com/users/GSerjo/following{/other_user}","gists_url":"https://api.github.com/users/GSerjo/gists{/gist_id}","starred_url":"https://api.github.com/users/GSerjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GSerjo/subscriptions","organizations_url":"https://api.github.com/users/GSerjo/orgs","repos_url":"https://api.github.com/users/GSerjo/repos","events_url":"https://api.github.com/users/GSerjo/events{/privacy}","received_events_url":"https://api.github.com/users/GSerjo/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T16:04:20Z","updated_at":"2015-05-16T16:04:20Z","body":"For instance you have following code\r\n\r\n        public class Person\r\n        {\r\n            public List<Contact> Contacts { get; set; }\r\n        }\r\n\r\n        public class PersonDto\r\n        {\r\n            public List<ContactDto> Contacts { get; set; }\r\n        }\r\n\r\n        public class Contact\r\n        {\r\n            public int Int { get; set; }\r\n            public string String { get; set; }\r\n        }\r\n\r\n        public class ContactDto\r\n        {\r\n            public int Int { get; set; }\r\n            public string String { get; set; }\r\n        }\r\n\r\nyou can do like this\r\n\r\n            TinyMapper.Bind<Person, PersonDto>();\r\n\r\n            var source = new Person\r\n            {\r\n                Contacts = new List<Contact>\r\n                {\r\n                    new Contact\r\n                    {\r\n                        Int = 1,\r\n                        String = \"2\"\r\n                    }\r\n                }\r\n            };\r\n\r\n            var actual = TinyMapper.Map<PersonDto>(source);"}}