{"action":"created","issue":{"url":"https://api.github.com/repos/go-playground/validator/issues/250","repository_url":"https://api.github.com/repos/go-playground/validator","labels_url":"https://api.github.com/repos/go-playground/validator/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/go-playground/validator/issues/250/comments","events_url":"https://api.github.com/repos/go-playground/validator/issues/250/events","html_url":"https://github.com/go-playground/validator/issues/250","id":166667582,"number":250,"title":"v9 - What would YOU like to see?","user":{"login":"joeybloggs","id":8068371,"avatar_url":"https://avatars.githubusercontent.com/u/8068371?v=3","gravatar_id":"","url":"https://api.github.com/users/joeybloggs","html_url":"https://github.com/joeybloggs","followers_url":"https://api.github.com/users/joeybloggs/followers","following_url":"https://api.github.com/users/joeybloggs/following{/other_user}","gists_url":"https://api.github.com/users/joeybloggs/gists{/gist_id}","starred_url":"https://api.github.com/users/joeybloggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeybloggs/subscriptions","organizations_url":"https://api.github.com/users/joeybloggs/orgs","repos_url":"https://api.github.com/users/joeybloggs/repos","events_url":"https://api.github.com/users/joeybloggs/events{/privacy}","received_events_url":"https://api.github.com/users/joeybloggs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/go-playground/validator/labels/help%20wanted","name":"help wanted","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/go-playground/validator/milestones/15","html_url":"https://github.com/go-playground/validator/milestones/v9","labels_url":"https://api.github.com/repos/go-playground/validator/milestones/15/labels","id":1887788,"number":15,"title":"v9","description":null,"creator":{"login":"joeybloggs","id":8068371,"avatar_url":"https://avatars.githubusercontent.com/u/8068371?v=3","gravatar_id":"","url":"https://api.github.com/users/joeybloggs","html_url":"https://github.com/joeybloggs","followers_url":"https://api.github.com/users/joeybloggs/followers","following_url":"https://api.github.com/users/joeybloggs/following{/other_user}","gists_url":"https://api.github.com/users/joeybloggs/gists{/gist_id}","starred_url":"https://api.github.com/users/joeybloggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeybloggs/subscriptions","organizations_url":"https://api.github.com/users/joeybloggs/orgs","repos_url":"https://api.github.com/users/joeybloggs/repos","events_url":"https://api.github.com/users/joeybloggs/events{/privacy}","received_events_url":"https://api.github.com/users/joeybloggs/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-07-17T01:40:18Z","updated_at":"2016-07-20T19:56:06Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-07-20T19:56:06Z","updated_at":"2016-07-21T12:39:41Z","closed_at":null,"body":"Hello All! and Thanks in Advance!\r\n\r\nI will soon be rewriting validator v9, from scratch, and am looking for any ideas or suggestions from you the community for anything you would like to see in the new version. I cannot guarantee all will be included, but can't add it if I don't know about it 😄 \r\n\r\nHere is a short list of changes that I will continue to add to:\r\n\r\n1. Update errors to return as an array instead of map ( more efficient + map is not needed until a translation of the error is generated, if at all )\r\n2. Attempt to cache parameter for struct fields already cast to the appropriate data type.\r\n3. Add Interface/Implements check for structs that satisfy a `Validatable` interface (TBD), which will replace Struct Level Validation. This will also allow those who are concerned with ultimate speed and not RAD to validate natively, but still report errors in a consistent way through validator; a true have your 🍰  and eat it too change.\r\n4. ~~Allow Structs to be validated, just like fields, see~~ #245 \r\n5. Remove the `exists` tag (which v8 now supports as well), in favour of `required` ([Release v8.17.3](https://github.com/go-playground/validator/releases/tag/v8.17.3) made this possible)\r\n6. Change `required` to `nondefault` or have both tags present? `required` makes more sense when reporting errors, but `nondefault` is clearer for those using the library. Thoughts?\r\n7. Unexpose `FieldError` fields in favour of interface methods enabling easier updating of changes and allow storing of data as `[]byte` until actually needed to be cast to a `string` if ever. ( avoids unnecessary allocations)\r\n8. Custom Error Messages + Translations ( this will be added in a separate repo as a totally optional component, post validation, now that [universal-translator](https://github.com/go-playground/universal-translator) is ready)\r\n9. more to come..."},"comment":{"url":"https://api.github.com/repos/go-playground/validator/issues/comments/234241084","html_url":"https://github.com/go-playground/validator/issues/250#issuecomment-234241084","issue_url":"https://api.github.com/repos/go-playground/validator/issues/250","id":234241084,"user":{"login":"alioygur","id":628322,"avatar_url":"https://avatars.githubusercontent.com/u/628322?v=3","gravatar_id":"","url":"https://api.github.com/users/alioygur","html_url":"https://github.com/alioygur","followers_url":"https://api.github.com/users/alioygur/followers","following_url":"https://api.github.com/users/alioygur/following{/other_user}","gists_url":"https://api.github.com/users/alioygur/gists{/gist_id}","starred_url":"https://api.github.com/users/alioygur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alioygur/subscriptions","organizations_url":"https://api.github.com/users/alioygur/orgs","repos_url":"https://api.github.com/users/alioygur/repos","events_url":"https://api.github.com/users/alioygur/events{/privacy}","received_events_url":"https://api.github.com/users/alioygur/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T12:39:41Z","updated_at":"2016-07-21T12:39:41Z","body":"Yes. about number of validations.\r\n\r\nSo I provide a package. https://laravel.com/docs/5.2/validation this package has a lot validations."}}
{"actor":{"display_login":"alioygur"}}