{"action":"created","issue":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/1856","repository_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate","labels_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/1856/labels{/name}","comments_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/1856/comments","events_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/1856/events","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/pull/1856","id":207165849,"number":1856,"title":"When have any ValidationErrors, return error messsage in ValidationEr…","user":{"login":"dusdong","id":3461709,"avatar_url":"https://avatars.githubusercontent.com/u/3461709?v=3","gravatar_id":"","url":"https://api.github.com/users/dusdong","html_url":"https://github.com/dusdong","followers_url":"https://api.github.com/users/dusdong/followers","following_url":"https://api.github.com/users/dusdong/following{/other_user}","gists_url":"https://api.github.com/users/dusdong/gists{/gist_id}","starred_url":"https://api.github.com/users/dusdong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dusdong/subscriptions","organizations_url":"https://api.github.com/users/dusdong/orgs","repos_url":"https://api.github.com/users/dusdong/repos","events_url":"https://api.github.com/users/dusdong/events{/privacy}","received_events_url":"https://api.github.com/users/dusdong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-02-13T09:47:04Z","updated_at":"2017-02-15T09:41:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/pulls/1856","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/pull/1856","diff_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/pull/1856.diff","patch_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/pull/1856.patch"},"body":"…rors."},"comment":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/comments/279963116","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/pull/1856#issuecomment-279963116","issue_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/1856","id":279963116,"user":{"login":"hikalkan","id":1210527,"avatar_url":"https://avatars.githubusercontent.com/u/1210527?v=3","gravatar_id":"","url":"https://api.github.com/users/hikalkan","html_url":"https://github.com/hikalkan","followers_url":"https://api.github.com/users/hikalkan/followers","following_url":"https://api.github.com/users/hikalkan/following{/other_user}","gists_url":"https://api.github.com/users/hikalkan/gists{/gist_id}","starred_url":"https://api.github.com/users/hikalkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hikalkan/subscriptions","organizations_url":"https://api.github.com/users/hikalkan/orgs","repos_url":"https://api.github.com/users/hikalkan/repos","events_url":"https://api.github.com/users/hikalkan/events{/privacy}","received_events_url":"https://api.github.com/users/hikalkan/received_events","type":"User","site_admin":false},"created_at":"2017-02-15T09:41:29Z","updated_at":"2017-02-15T09:41:29Z","body":"Hi,\r\n\r\nDo you know the [WrapResult] attribute. If you add this attribute to the Insert method, you can get validation errors in the returning JSON.\r\n\r\nYou can also enable it for all Web API actions in PreInitialize of your web api module, like that:\r\n\r\n````\r\nConfiguration.Modules.AbpWebApi().DefaultWrapResultAttribute.WrapOnError = true;\r\n````\r\n\r\nActually, this is the default value unless you explicitly disable it. So, I could not understand why returning JSON is like that for your case."}}
{"actor":{"display_login":"hikalkan"}}