{"action":"created","issue":{"url":"https://api.github.com/repos/dobrynya/nomin/issues/18","repository_url":"https://api.github.com/repos/dobrynya/nomin","labels_url":"https://api.github.com/repos/dobrynya/nomin/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/dobrynya/nomin/issues/18/comments","events_url":"https://api.github.com/repos/dobrynya/nomin/issues/18/events","html_url":"https://github.com/dobrynya/nomin/issues/18","id":151569496,"number":18,"title":"Mapping for classes without default constructors","user":{"login":"amelnikoff","id":3614457,"avatar_url":"https://avatars.githubusercontent.com/u/3614457?v=3","gravatar_id":"","url":"https://api.github.com/users/amelnikoff","html_url":"https://github.com/amelnikoff","followers_url":"https://api.github.com/users/amelnikoff/followers","following_url":"https://api.github.com/users/amelnikoff/following{/other_user}","gists_url":"https://api.github.com/users/amelnikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/amelnikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amelnikoff/subscriptions","organizations_url":"https://api.github.com/users/amelnikoff/orgs","repos_url":"https://api.github.com/users/amelnikoff/repos","events_url":"https://api.github.com/users/amelnikoff/events{/privacy}","received_events_url":"https://api.github.com/users/amelnikoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-28T07:37:55Z","updated_at":"2016-04-28T08:43:20Z","closed_at":null,"body":"Hi there.\r\nDon't know where to ask. On support maillist no one answered.\r\n\r\nIs there any way to map classes without default constructors? Can't find any example for this case."},"comment":{"url":"https://api.github.com/repos/dobrynya/nomin/issues/comments/215354343","html_url":"https://github.com/dobrynya/nomin/issues/18#issuecomment-215354343","issue_url":"https://api.github.com/repos/dobrynya/nomin/issues/18","id":215354343,"user":{"login":"dobrynya","id":664907,"avatar_url":"https://avatars.githubusercontent.com/u/664907?v=3","gravatar_id":"","url":"https://api.github.com/users/dobrynya","html_url":"https://github.com/dobrynya","followers_url":"https://api.github.com/users/dobrynya/followers","following_url":"https://api.github.com/users/dobrynya/following{/other_user}","gists_url":"https://api.github.com/users/dobrynya/gists{/gist_id}","starred_url":"https://api.github.com/users/dobrynya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dobrynya/subscriptions","organizations_url":"https://api.github.com/users/dobrynya/orgs","repos_url":"https://api.github.com/users/dobrynya/repos","events_url":"https://api.github.com/users/dobrynya/events{/privacy}","received_events_url":"https://api.github.com/users/dobrynya/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T08:43:20Z","updated_at":"2016-04-28T08:43:20Z","body":"Hello Alexey\n\nSure. You can do the needed. You should use SunInstanceCreator. Please\nintroduce your own introspector and provide Nomin with the mentioned\ninstance creator. You may extend BaseReflectionIntrospector for instance.\nAlso you can use the Nomin's expression mechanism and create an instance of\nyour class in a closure as follows\n\na.withoutConstructorInstance = { new\nWithoutDefaultConstructorClass(b.someProperty) }\n\nWhat to choose is up to you. Hope it is helpful.\n\nBest regards,\nDmitry\n\n2016-04-28 10:37 GMT+03:00 Alexey Melnikov <notifications@github.com>:\n\n> Hi there.\n> Don't know where to ask. On support maillist no one answered.\n>\n> Is there any way to map classes without default constructors? Can't find\n> any example for this case.\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/dobrynya/nomin/issues/18>\n>\n"}}