{"action":"created","issue":{"url":"https://api.github.com/repos/gavinwahl/postgres-json-schema/issues/4","repository_url":"https://api.github.com/repos/gavinwahl/postgres-json-schema","labels_url":"https://api.github.com/repos/gavinwahl/postgres-json-schema/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/gavinwahl/postgres-json-schema/issues/4/comments","events_url":"https://api.github.com/repos/gavinwahl/postgres-json-schema/issues/4/events","html_url":"https://github.com/gavinwahl/postgres-json-schema/issues/4","id":259287524,"number":4,"title":"[Suggestion] Validation error messages","user":{"login":"romanoff","id":222327,"avatar_url":"https://avatars3.githubusercontent.com/u/222327?v=4","gravatar_id":"","url":"https://api.github.com/users/romanoff","html_url":"https://github.com/romanoff","followers_url":"https://api.github.com/users/romanoff/followers","following_url":"https://api.github.com/users/romanoff/following{/other_user}","gists_url":"https://api.github.com/users/romanoff/gists{/gist_id}","starred_url":"https://api.github.com/users/romanoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanoff/subscriptions","organizations_url":"https://api.github.com/users/romanoff/orgs","repos_url":"https://api.github.com/users/romanoff/repos","events_url":"https://api.github.com/users/romanoff/events{/privacy}","received_events_url":"https://api.github.com/users/romanoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-20T20:13:35Z","updated_at":"2017-09-21T16:35:52Z","closed_at":null,"author_association":"NONE","body":"My understanding is that at the moment this extension allows you to get answer if validation failed or succeeded. But would be great if you could also error messages. Possible format:\r\n```\r\n{\"name\": [\"is required\"]}\r\n```\r\nNot sure about exact format, but that would definitely be useful in some cases (my use-case is trying to process http request in postgres function. And this would provide validation messages )"},"comment":{"url":"https://api.github.com/repos/gavinwahl/postgres-json-schema/issues/comments/331212468","html_url":"https://github.com/gavinwahl/postgres-json-schema/issues/4#issuecomment-331212468","issue_url":"https://api.github.com/repos/gavinwahl/postgres-json-schema/issues/4","id":331212468,"user":{"login":"gavinwahl","id":421710,"avatar_url":"https://avatars2.githubusercontent.com/u/421710?v=4","gravatar_id":"","url":"https://api.github.com/users/gavinwahl","html_url":"https://github.com/gavinwahl","followers_url":"https://api.github.com/users/gavinwahl/followers","following_url":"https://api.github.com/users/gavinwahl/following{/other_user}","gists_url":"https://api.github.com/users/gavinwahl/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinwahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinwahl/subscriptions","organizations_url":"https://api.github.com/users/gavinwahl/orgs","repos_url":"https://api.github.com/users/gavinwahl/repos","events_url":"https://api.github.com/users/gavinwahl/events{/privacy}","received_events_url":"https://api.github.com/users/gavinwahl/received_events","type":"User","site_admin":false},"created_at":"2017-09-21T16:35:52Z","updated_at":"2017-09-21T16:35:52Z","author_association":"OWNER","body":"I agree, it would be nice to have this. My application doesn't need it because I validate in the application as well, and the check constraint is just for integrity.\r\n\r\nIt seems pretty hard to implement so I didn't do it, but I would accept a patch that did."}}
{"actor":{"display_login":"gavinwahl"}}