{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1199","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1199/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1199/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1199/events","html_url":"https://github.com/jhipster/generator-jhipster/pull/1199","id":59455701,"number":1199,"title":"Generate DTOs for updating, and listing and editing the entity, and mapp...","user":{"login":"gzsombor","id":66230,"avatar_url":"https://avatars.githubusercontent.com/u/66230?v=3","gravatar_id":"","url":"https://api.github.com/users/gzsombor","html_url":"https://github.com/gzsombor","followers_url":"https://api.github.com/users/gzsombor/followers","following_url":"https://api.github.com/users/gzsombor/following{/other_user}","gists_url":"https://api.github.com/users/gzsombor/gists{/gist_id}","starred_url":"https://api.github.com/users/gzsombor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gzsombor/subscriptions","organizations_url":"https://api.github.com/users/gzsombor/orgs","repos_url":"https://api.github.com/users/gzsombor/repos","events_url":"https://api.github.com/users/gzsombor/events{/privacy}","received_events_url":"https://api.github.com/users/gzsombor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-02T09:17:12Z","updated_at":"2015-03-10T23:45:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/1199","html_url":"https://github.com/jhipster/generator-jhipster/pull/1199","diff_url":"https://github.com/jhipster/generator-jhipster/pull/1199.diff","patch_url":"https://github.com/jhipster/generator-jhipster/pull/1199.patch"},"body":"...ers to handle the conversions between.\r\n\r\nThis way, it is much easier to validate that what field is sent to the client,\r\nand what can be updated by the client.\r\n This separation ensures, that the same json could be generated, no matter what kind of entities are generated, either with mongodb/cassandra or jpa, and helps users to implement a fine-grained change control: for example 'only allow editing if the entitiy state is not final', or 'allow changing of amount, when the user has X role', etc."},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/78173230","html_url":"https://github.com/jhipster/generator-jhipster/pull/1199#issuecomment-78173230","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1199","id":78173230,"user":{"login":"gzsombor","id":66230,"avatar_url":"https://avatars.githubusercontent.com/u/66230?v=3","gravatar_id":"","url":"https://api.github.com/users/gzsombor","html_url":"https://github.com/gzsombor","followers_url":"https://api.github.com/users/gzsombor/followers","following_url":"https://api.github.com/users/gzsombor/following{/other_user}","gists_url":"https://api.github.com/users/gzsombor/gists{/gist_id}","starred_url":"https://api.github.com/users/gzsombor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gzsombor/subscriptions","organizations_url":"https://api.github.com/users/gzsombor/orgs","repos_url":"https://api.github.com/users/gzsombor/repos","events_url":"https://api.github.com/users/gzsombor/events{/privacy}","received_events_url":"https://api.github.com/users/gzsombor/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T23:45:36Z","updated_at":"2015-03-10T23:45:36Z","body":"I've added an option to the entity sub-generator to create dtos if requested. I've tried to test it, of course, but I only have one pair of eyes, so probably I've missed something.\r\n What do you think ?"}}