{"action":"created","issue":{"url":"https://api.github.com/repos/vert-x3/vertx-codegen/issues/77","repository_url":"https://api.github.com/repos/vert-x3/vertx-codegen","labels_url":"https://api.github.com/repos/vert-x3/vertx-codegen/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/vert-x3/vertx-codegen/issues/77/comments","events_url":"https://api.github.com/repos/vert-x3/vertx-codegen/issues/77/events","html_url":"https://github.com/vert-x3/vertx-codegen/issues/77","id":148628340,"number":77,"title":"Consider removing check for default constructor in DataObject","user":{"login":"aschrijver","id":5111931,"avatar_url":"https://avatars.githubusercontent.com/u/5111931?v=3","gravatar_id":"","url":"https://api.github.com/users/aschrijver","html_url":"https://github.com/aschrijver","followers_url":"https://api.github.com/users/aschrijver/followers","following_url":"https://api.github.com/users/aschrijver/following{/other_user}","gists_url":"https://api.github.com/users/aschrijver/gists{/gist_id}","starred_url":"https://api.github.com/users/aschrijver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aschrijver/subscriptions","organizations_url":"https://api.github.com/users/aschrijver/orgs","repos_url":"https://api.github.com/users/aschrijver/repos","events_url":"https://api.github.com/users/aschrijver/events{/privacy}","received_events_url":"https://api.github.com/users/aschrijver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-04-15T10:55:58Z","updated_at":"2016-04-15T15:12:06Z","closed_at":null,"body":"As discussed on the forum [here](https://groups.google.com/forum/#!searchin/vertx/dataobject/vertx/Q4a8eGXHjs4/Y10lDx2pI0QJ) and [here](https://groups.google.com/forum/#!topic/vertx/tae09mqv7zc) the check for existence of a default constructor on a `@DataObject` may be removed.\r\n\r\nThere is value in this, since many data objects do not have sensible defaults to set, and may also be immutable."},"comment":{"url":"https://api.github.com/repos/vert-x3/vertx-codegen/issues/comments/210499693","html_url":"https://github.com/vert-x3/vertx-codegen/issues/77#issuecomment-210499693","issue_url":"https://api.github.com/repos/vert-x3/vertx-codegen/issues/77","id":210499693,"user":{"login":"vietj","id":225674,"avatar_url":"https://avatars.githubusercontent.com/u/225674?v=3","gravatar_id":"","url":"https://api.github.com/users/vietj","html_url":"https://github.com/vietj","followers_url":"https://api.github.com/users/vietj/followers","following_url":"https://api.github.com/users/vietj/following{/other_user}","gists_url":"https://api.github.com/users/vietj/gists{/gist_id}","starred_url":"https://api.github.com/users/vietj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vietj/subscriptions","organizations_url":"https://api.github.com/users/vietj/orgs","repos_url":"https://api.github.com/users/vietj/repos","events_url":"https://api.github.com/users/vietj/events{/privacy}","received_events_url":"https://api.github.com/users/vietj/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T15:12:06Z","updated_at":"2016-04-15T15:12:06Z","body":"actually a generic data object serialization with event bus already exists in service proxies requiring a toJson() method, so I think we can remove requirement for copy constructor too. so a data object would be serializable only if it provides a toJson() method. the json arg ctor is still mandatory."}}