{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/pulls/6","id":58887830,"html_url":"https://github.com/CosticaPuntaru/redux-form-validation/pull/6","diff_url":"https://github.com/CosticaPuntaru/redux-form-validation/pull/6.diff","patch_url":"https://github.com/CosticaPuntaru/redux-form-validation/pull/6.patch","issue_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/issues/6","number":6,"state":"closed","locked":false,"title":"Feature/example","user":{"login":"CosticaPuntaru","id":6418405,"avatar_url":"https://avatars.githubusercontent.com/u/6418405?v=3","gravatar_id":"","url":"https://api.github.com/users/CosticaPuntaru","html_url":"https://github.com/CosticaPuntaru","followers_url":"https://api.github.com/users/CosticaPuntaru/followers","following_url":"https://api.github.com/users/CosticaPuntaru/following{/other_user}","gists_url":"https://api.github.com/users/CosticaPuntaru/gists{/gist_id}","starred_url":"https://api.github.com/users/CosticaPuntaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CosticaPuntaru/subscriptions","organizations_url":"https://api.github.com/users/CosticaPuntaru/orgs","repos_url":"https://api.github.com/users/CosticaPuntaru/repos","events_url":"https://api.github.com/users/CosticaPuntaru/events{/privacy}","received_events_url":"https://api.github.com/users/CosticaPuntaru/received_events","type":"User","site_admin":false},"body":"# 0.0.6\r\n- **added** `allValues` and `allProps` params to validator.\r\n    It can be used to create validations that requires other fields value and props  like `matchField`.\r\nexample:\r\n```javascript\r\nimport FormMessages from 'redux-form-validation';\r\n\r\nFormMessages.addValidation('matchField', function(field, value, prop, dispatch, allValues, allProps){\r\n    return !value ? false : value != allValues[prop];\r\n})\r\n```\r\n\r\n- **added** `matchField` validation.\r\n    must give the matching field name as value.\r\n\r\nexample:\r\n```javascript \r\nvar validations = {\r\n    email: {\r\n        required: true,\r\n        email: true,\r\n        validateOnBlur: true,\r\n    },\r\n    retryEmail: {\r\n        validateOnBlur: true,\r\n        matchField: 'email',\r\n  },\r\n}\r\n```\r\n- **added** example.\r\n    To run the example run `npm i -d && npm start`\r\n- **fixed** `FormMessage` component.\r\n    Render error when only has one child.\r\n","created_at":"2016-02-10T13:06:57Z","updated_at":"2016-02-10T13:58:13Z","closed_at":"2016-02-10T13:58:13Z","merged_at":"2016-02-10T13:58:13Z","merge_commit_sha":"bcb0495c373e80ceeacb371a86e61e1aa08fa80d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/pulls/6/commits","review_comments_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/pulls/6/comments","review_comment_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/issues/6/comments","statuses_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/statuses/afc10a58be78702f784e3ada33c7cd6b7a464882","head":{"label":"CosticaPuntaru:feature/example","ref":"feature/example","sha":"afc10a58be78702f784e3ada33c7cd6b7a464882","user":{"login":"CosticaPuntaru","id":6418405,"avatar_url":"https://avatars.githubusercontent.com/u/6418405?v=3","gravatar_id":"","url":"https://api.github.com/users/CosticaPuntaru","html_url":"https://github.com/CosticaPuntaru","followers_url":"https://api.github.com/users/CosticaPuntaru/followers","following_url":"https://api.github.com/users/CosticaPuntaru/following{/other_user}","gists_url":"https://api.github.com/users/CosticaPuntaru/gists{/gist_id}","starred_url":"https://api.github.com/users/CosticaPuntaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CosticaPuntaru/subscriptions","organizations_url":"https://api.github.com/users/CosticaPuntaru/orgs","repos_url":"https://api.github.com/users/CosticaPuntaru/repos","events_url":"https://api.github.com/users/CosticaPuntaru/events{/privacy}","received_events_url":"https://api.github.com/users/CosticaPuntaru/received_events","type":"User","site_admin":false},"repo":{"id":46705715,"name":"redux-form-validation","full_name":"CosticaPuntaru/redux-form-validation","owner":{"login":"CosticaPuntaru","id":6418405,"avatar_url":"https://avatars.githubusercontent.com/u/6418405?v=3","gravatar_id":"","url":"https://api.github.com/users/CosticaPuntaru","html_url":"https://github.com/CosticaPuntaru","followers_url":"https://api.github.com/users/CosticaPuntaru/followers","following_url":"https://api.github.com/users/CosticaPuntaru/following{/other_user}","gists_url":"https://api.github.com/users/CosticaPuntaru/gists{/gist_id}","starred_url":"https://api.github.com/users/CosticaPuntaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CosticaPuntaru/subscriptions","organizations_url":"https://api.github.com/users/CosticaPuntaru/orgs","repos_url":"https://api.github.com/users/CosticaPuntaru/repos","events_url":"https://api.github.com/users/CosticaPuntaru/events{/privacy}","received_events_url":"https://api.github.com/users/CosticaPuntaru/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CosticaPuntaru/redux-form-validation","description":"","fork":false,"url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation","forks_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/forks","keys_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/teams","hooks_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/hooks","issue_events_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/issues/events{/number}","events_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/events","assignees_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/assignees{/user}","branches_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/branches{/branch}","tags_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/tags","blobs_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/statuses/{sha}","languages_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/languages","stargazers_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/stargazers","contributors_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/contributors","subscribers_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/subscribers","subscription_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/subscription","commits_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/issues/comments{/number}","contents_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/contents/{+path}","compare_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/merges","archive_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/downloads","issues_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/issues{/number}","pulls_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/pulls{/number}","milestones_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/milestones{/number}","notifications_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/labels{/name}","releases_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/releases{/id}","deployments_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/deployments","created_at":"2015-11-23T08:08:55Z","updated_at":"2016-02-02T06:04:03Z","pushed_at":"2016-02-10T13:58:12Z","git_url":"git://github.com/CosticaPuntaru/redux-form-validation.git","ssh_url":"git@github.com:CosticaPuntaru/redux-form-validation.git","clone_url":"https://github.com/CosticaPuntaru/redux-form-validation.git","svn_url":"https://github.com/CosticaPuntaru/redux-form-validation","homepage":null,"size":33,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":8,"default_branch":"master"}},"base":{"label":"CosticaPuntaru:master","ref":"master","sha":"7a93d56b9695794b5d17512436564492554e40cf","user":{"login":"CosticaPuntaru","id":6418405,"avatar_url":"https://avatars.githubusercontent.com/u/6418405?v=3","gravatar_id":"","url":"https://api.github.com/users/CosticaPuntaru","html_url":"https://github.com/CosticaPuntaru","followers_url":"https://api.github.com/users/CosticaPuntaru/followers","following_url":"https://api.github.com/users/CosticaPuntaru/following{/other_user}","gists_url":"https://api.github.com/users/CosticaPuntaru/gists{/gist_id}","starred_url":"https://api.github.com/users/CosticaPuntaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CosticaPuntaru/subscriptions","organizations_url":"https://api.github.com/users/CosticaPuntaru/orgs","repos_url":"https://api.github.com/users/CosticaPuntaru/repos","events_url":"https://api.github.com/users/CosticaPuntaru/events{/privacy}","received_events_url":"https://api.github.com/users/CosticaPuntaru/received_events","type":"User","site_admin":false},"repo":{"id":46705715,"name":"redux-form-validation","full_name":"CosticaPuntaru/redux-form-validation","owner":{"login":"CosticaPuntaru","id":6418405,"avatar_url":"https://avatars.githubusercontent.com/u/6418405?v=3","gravatar_id":"","url":"https://api.github.com/users/CosticaPuntaru","html_url":"https://github.com/CosticaPuntaru","followers_url":"https://api.github.com/users/CosticaPuntaru/followers","following_url":"https://api.github.com/users/CosticaPuntaru/following{/other_user}","gists_url":"https://api.github.com/users/CosticaPuntaru/gists{/gist_id}","starred_url":"https://api.github.com/users/CosticaPuntaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CosticaPuntaru/subscriptions","organizations_url":"https://api.github.com/users/CosticaPuntaru/orgs","repos_url":"https://api.github.com/users/CosticaPuntaru/repos","events_url":"https://api.github.com/users/CosticaPuntaru/events{/privacy}","received_events_url":"https://api.github.com/users/CosticaPuntaru/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CosticaPuntaru/redux-form-validation","description":"","fork":false,"url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation","forks_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/forks","keys_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/teams","hooks_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/hooks","issue_events_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/issues/events{/number}","events_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/events","assignees_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/assignees{/user}","branches_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/branches{/branch}","tags_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/tags","blobs_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/statuses/{sha}","languages_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/languages","stargazers_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/stargazers","contributors_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/contributors","subscribers_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/subscribers","subscription_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/subscription","commits_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/issues/comments{/number}","contents_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/contents/{+path}","compare_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/merges","archive_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/downloads","issues_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/issues{/number}","pulls_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/pulls{/number}","milestones_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/milestones{/number}","notifications_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/labels{/name}","releases_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/releases{/id}","deployments_url":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/deployments","created_at":"2015-11-23T08:08:55Z","updated_at":"2016-02-02T06:04:03Z","pushed_at":"2016-02-10T13:58:12Z","git_url":"git://github.com/CosticaPuntaru/redux-form-validation.git","ssh_url":"git@github.com:CosticaPuntaru/redux-form-validation.git","clone_url":"https://github.com/CosticaPuntaru/redux-form-validation.git","svn_url":"https://github.com/CosticaPuntaru/redux-form-validation","homepage":null,"size":33,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/pulls/6"},"html":{"href":"https://github.com/CosticaPuntaru/redux-form-validation/pull/6"},"issue":{"href":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/issues/6"},"comments":{"href":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/CosticaPuntaru/redux-form-validation/statuses/afc10a58be78702f784e3ada33c7cd6b7a464882"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"CosticaPuntaru","id":6418405,"avatar_url":"https://avatars.githubusercontent.com/u/6418405?v=3","gravatar_id":"","url":"https://api.github.com/users/CosticaPuntaru","html_url":"https://github.com/CosticaPuntaru","followers_url":"https://api.github.com/users/CosticaPuntaru/followers","following_url":"https://api.github.com/users/CosticaPuntaru/following{/other_user}","gists_url":"https://api.github.com/users/CosticaPuntaru/gists{/gist_id}","starred_url":"https://api.github.com/users/CosticaPuntaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CosticaPuntaru/subscriptions","organizations_url":"https://api.github.com/users/CosticaPuntaru/orgs","repos_url":"https://api.github.com/users/CosticaPuntaru/repos","events_url":"https://api.github.com/users/CosticaPuntaru/events{/privacy}","received_events_url":"https://api.github.com/users/CosticaPuntaru/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":360,"deletions":51,"changed_files":18}}