{"action":"created","issue":{"url":"https://api.github.com/repos/TrevorPilley/MicroLite/issues/373","labels_url":"https://api.github.com/repos/TrevorPilley/MicroLite/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/TrevorPilley/MicroLite/issues/373/comments","events_url":"https://api.github.com/repos/TrevorPilley/MicroLite/issues/373/events","html_url":"https://github.com/TrevorPilley/MicroLite/issues/373","id":54307472,"number":373,"title":"Allow custom instance factories","user":{"login":"Chimaine","id":288147,"avatar_url":"https://avatars.githubusercontent.com/u/288147?v=3","gravatar_id":"","url":"https://api.github.com/users/Chimaine","html_url":"https://github.com/Chimaine","followers_url":"https://api.github.com/users/Chimaine/followers","following_url":"https://api.github.com/users/Chimaine/following{/other_user}","gists_url":"https://api.github.com/users/Chimaine/gists{/gist_id}","starred_url":"https://api.github.com/users/Chimaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chimaine/subscriptions","organizations_url":"https://api.github.com/users/Chimaine/orgs","repos_url":"https://api.github.com/users/Chimaine/repos","events_url":"https://api.github.com/users/Chimaine/events{/privacy}","received_events_url":"https://api.github.com/users/Chimaine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/TrevorPilley/MicroLite/milestones/29","html_url":"https://github.com/TrevorPilley/MicroLite/milestones/6.2","labels_url":"https://api.github.com/repos/TrevorPilley/MicroLite/milestones/29/labels","id":958121,"number":29,"title":"6.2","description":"","creator":{"login":"TrevorPilley","id":1454073,"avatar_url":"https://avatars.githubusercontent.com/u/1454073?v=3","gravatar_id":"","url":"https://api.github.com/users/TrevorPilley","html_url":"https://github.com/TrevorPilley","followers_url":"https://api.github.com/users/TrevorPilley/followers","following_url":"https://api.github.com/users/TrevorPilley/following{/other_user}","gists_url":"https://api.github.com/users/TrevorPilley/gists{/gist_id}","starred_url":"https://api.github.com/users/TrevorPilley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrevorPilley/subscriptions","organizations_url":"https://api.github.com/users/TrevorPilley/orgs","repos_url":"https://api.github.com/users/TrevorPilley/repos","events_url":"https://api.github.com/users/TrevorPilley/events{/privacy}","received_events_url":"https://api.github.com/users/TrevorPilley/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2015-01-30T10:25:59Z","updated_at":"2015-03-24T13:08:52Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-01-14T10:41:27Z","updated_at":"2015-03-26T10:27:21Z","closed_at":null,"body":"I've been more then once in the situation where I wanted to store or read a class that had one or more read-only properties that needed to be set via the constructor. While we can tell ML to ignore these, the constructor still needs these as arguments. \r\n\r\nThis can be quite common with libraries (e.g. immutable state information) where you have to write a builder class to be able to read them back from the DB. While this is a perfectly working solution, I would love to have a build-in solution in MicroLite.\r\n\r\nAn example could be an additional option for Convention Based Mapping or a registration class like TypeConverter.\r\n\r\nThanks for your work on MicroLite!"},"comment":{"url":"https://api.github.com/repos/TrevorPilley/MicroLite/issues/comments/86442400","html_url":"https://github.com/TrevorPilley/MicroLite/issues/373#issuecomment-86442400","issue_url":"https://api.github.com/repos/TrevorPilley/MicroLite/issues/373","id":86442400,"user":{"login":"Chimaine","id":288147,"avatar_url":"https://avatars.githubusercontent.com/u/288147?v=3","gravatar_id":"","url":"https://api.github.com/users/Chimaine","html_url":"https://github.com/Chimaine","followers_url":"https://api.github.com/users/Chimaine/followers","following_url":"https://api.github.com/users/Chimaine/following{/other_user}","gists_url":"https://api.github.com/users/Chimaine/gists{/gist_id}","starred_url":"https://api.github.com/users/Chimaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chimaine/subscriptions","organizations_url":"https://api.github.com/users/Chimaine/orgs","repos_url":"https://api.github.com/users/Chimaine/repos","events_url":"https://api.github.com/users/Chimaine/events{/privacy}","received_events_url":"https://api.github.com/users/Chimaine/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T10:27:21Z","updated_at":"2015-03-26T10:27:21Z","body":"Yes this would work. Thank you."}}