{"action":"created","comment":{"url":"https://api.github.com/repos/jaredpalmer/formik/pulls/comments/200855587","pull_request_review_id":135247029,"id":200855587,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDg1NTU4Nw==","diff_hunk":"@@ -393,9 +394,12 @@ export class Formik<ExtraProps = {}, Values = object> extends React.Component<\n   submitForm = () => {\n     // Recursively set all values to `true`.\n     this.setState(prevState => ({\n-      touched: setNestedObjectValues<FormikTouched<Values>>(\n-        prevState.values,\n-        true\n+      touched: deepmerge(\n+        setNestedObjectValues<FormikTouched<Values>>(prevState.values, true),\n+        Object.keys(this.fields).reduce(\n+          (prev, curr) => ({ ...prev, [curr]: true }),","path":"src/Formik.tsx","position":18,"original_position":18,"commit_id":"66a31e78586f39f29d404d4a36c69eaa3fcc599a","original_commit_id":"66a31e78586f39f29d404d4a36c69eaa3fcc599a","user":{"login":"Andreyco","id":829963,"node_id":"MDQ6VXNlcjgyOTk2Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/829963?v=4","gravatar_id":"","url":"https://api.github.com/users/Andreyco","html_url":"https://github.com/Andreyco","followers_url":"https://api.github.com/users/Andreyco/followers","following_url":"https://api.github.com/users/Andreyco/following{/other_user}","gists_url":"https://api.github.com/users/Andreyco/gists{/gist_id}","starred_url":"https://api.github.com/users/Andreyco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andreyco/subscriptions","organizations_url":"https://api.github.com/users/Andreyco/orgs","repos_url":"https://api.github.com/users/Andreyco/repos","events_url":"https://api.github.com/users/Andreyco/events{/privacy}","received_events_url":"https://api.github.com/users/Andreyco/received_events","type":"User","site_admin":false},"body":"nope, haven't considered this use case. Will test that, no prob.","created_at":"2018-07-08T22:01:47Z","updated_at":"2018-07-08T22:01:48Z","html_url":"https://github.com/jaredpalmer/formik/pull/745#discussion_r200855587","pull_request_url":"https://api.github.com/repos/jaredpalmer/formik/pulls/745","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/jaredpalmer/formik/pulls/comments/200855587"},"html":{"href":"https://github.com/jaredpalmer/formik/pull/745#discussion_r200855587"},"pull_request":{"href":"https://api.github.com/repos/jaredpalmer/formik/pulls/745"}},"in_reply_to_id":200854671},"pull_request":{"url":"https://api.github.com/repos/jaredpalmer/formik/pulls/745","id":199957176,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTU3MTc2","html_url":"https://github.com/jaredpalmer/formik/pull/745","diff_url":"https://github.com/jaredpalmer/formik/pull/745.diff","patch_url":"https://github.com/jaredpalmer/formik/pull/745.patch","issue_url":"https://api.github.com/repos/jaredpalmer/formik/issues/745","number":745,"state":"open","locked":false,"title":"Touch fields","user":{"login":"Andreyco","id":829963,"node_id":"MDQ6VXNlcjgyOTk2Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/829963?v=4","gravatar_id":"","url":"https://api.github.com/users/Andreyco","html_url":"https://github.com/Andreyco","followers_url":"https://api.github.com/users/Andreyco/followers","following_url":"https://api.github.com/users/Andreyco/following{/other_user}","gists_url":"https://api.github.com/users/Andreyco/gists{/gist_id}","starred_url":"https://api.github.com/users/Andreyco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andreyco/subscriptions","organizations_url":"https://api.github.com/users/Andreyco/orgs","repos_url":"https://api.github.com/users/Andreyco/repos","events_url":"https://api.github.com/users/Andreyco/events{/privacy}","received_events_url":"https://api.github.com/users/Andreyco/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-08T19:43:22Z","updated_at":"2018-07-08T22:01:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8a092fd453d38c081fd17fee3961a2eee574974","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jaredpalmer/formik/pulls/745/commits","review_comments_url":"https://api.github.com/repos/jaredpalmer/formik/pulls/745/comments","review_comment_url":"https://api.github.com/repos/jaredpalmer/formik/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jaredpalmer/formik/issues/745/comments","statuses_url":"https://api.github.com/repos/jaredpalmer/formik/statuses/66a31e78586f39f29d404d4a36c69eaa3fcc599a","head":{"label":"Andreyco:touch-fields","ref":"touch-fields","sha":"66a31e78586f39f29d404d4a36c69eaa3fcc599a","user":{"login":"Andreyco","id":829963,"node_id":"MDQ6VXNlcjgyOTk2Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/829963?v=4","gravatar_id":"","url":"https://api.github.com/users/Andreyco","html_url":"https://github.com/Andreyco","followers_url":"https://api.github.com/users/Andreyco/followers","following_url":"https://api.github.com/users/Andreyco/following{/other_user}","gists_url":"https://api.github.com/users/Andreyco/gists{/gist_id}","starred_url":"https://api.github.com/users/Andreyco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andreyco/subscriptions","organizations_url":"https://api.github.com/users/Andreyco/orgs","repos_url":"https://api.github.com/users/Andreyco/repos","events_url":"https://api.github.com/users/Andreyco/events{/privacy}","received_events_url":"https://api.github.com/users/Andreyco/received_events","type":"User","site_admin":false},"repo":{"id":139856299,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4NTYyOTk=","name":"formik","full_name":"Andreyco/formik","owner":{"login":"Andreyco","id":829963,"node_id":"MDQ6VXNlcjgyOTk2Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/829963?v=4","gravatar_id":"","url":"https://api.github.com/users/Andreyco","html_url":"https://github.com/Andreyco","followers_url":"https://api.github.com/users/Andreyco/followers","following_url":"https://api.github.com/users/Andreyco/following{/other_user}","gists_url":"https://api.github.com/users/Andreyco/gists{/gist_id}","starred_url":"https://api.github.com/users/Andreyco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andreyco/subscriptions","organizations_url":"https://api.github.com/users/Andreyco/orgs","repos_url":"https://api.github.com/users/Andreyco/repos","events_url":"https://api.github.com/users/Andreyco/events{/privacy}","received_events_url":"https://api.github.com/users/Andreyco/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Andreyco/formik","description":"Build forms in React, without the tears 😭 ","fork":true,"url":"https://api.github.com/repos/Andreyco/formik","forks_url":"https://api.github.com/repos/Andreyco/formik/forks","keys_url":"https://api.github.com/repos/Andreyco/formik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Andreyco/formik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Andreyco/formik/teams","hooks_url":"https://api.github.com/repos/Andreyco/formik/hooks","issue_events_url":"https://api.github.com/repos/Andreyco/formik/issues/events{/number}","events_url":"https://api.github.com/repos/Andreyco/formik/events","assignees_url":"https://api.github.com/repos/Andreyco/formik/assignees{/user}","branches_url":"https://api.github.com/repos/Andreyco/formik/branches{/branch}","tags_url":"https://api.github.com/repos/Andreyco/formik/tags","blobs_url":"https://api.github.com/repos/Andreyco/formik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Andreyco/formik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Andreyco/formik/git/refs{/sha}","trees_url":"https://api.github.com/repos/Andreyco/formik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Andreyco/formik/statuses/{sha}","languages_url":"https://api.github.com/repos/Andreyco/formik/languages","stargazers_url":"https://api.github.com/repos/Andreyco/formik/stargazers","contributors_url":"https://api.github.com/repos/Andreyco/formik/contributors","subscribers_url":"https://api.github.com/repos/Andreyco/formik/subscribers","subscription_url":"https://api.github.com/repos/Andreyco/formik/subscription","commits_url":"https://api.github.com/repos/Andreyco/formik/commits{/sha}","git_commits_url":"https://api.github.com/repos/Andreyco/formik/git/commits{/sha}","comments_url":"https://api.github.com/repos/Andreyco/formik/comments{/number}","issue_comment_url":"https://api.github.com/repos/Andreyco/formik/issues/comments{/number}","contents_url":"https://api.github.com/repos/Andreyco/formik/contents/{+path}","compare_url":"https://api.github.com/repos/Andreyco/formik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Andreyco/formik/merges","archive_url":"https://api.github.com/repos/Andreyco/formik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Andreyco/formik/downloads","issues_url":"https://api.github.com/repos/Andreyco/formik/issues{/number}","pulls_url":"https://api.github.com/repos/Andreyco/formik/pulls{/number}","milestones_url":"https://api.github.com/repos/Andreyco/formik/milestones{/number}","notifications_url":"https://api.github.com/repos/Andreyco/formik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Andreyco/formik/labels{/name}","releases_url":"https://api.github.com/repos/Andreyco/formik/releases{/id}","deployments_url":"https://api.github.com/repos/Andreyco/formik/deployments","created_at":"2018-07-05T13:49:37Z","updated_at":"2018-07-05T22:40:46Z","pushed_at":"2018-07-08T19:29:41Z","git_url":"git://github.com/Andreyco/formik.git","ssh_url":"git@github.com:Andreyco/formik.git","clone_url":"https://github.com/Andreyco/formik.git","svn_url":"https://github.com/Andreyco/formik","homepage":"https://npm.im/formik","size":1627,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jaredpalmer:master","ref":"master","sha":"8f7024bba05e51d83faa46d108ee7f54068debb5","user":{"login":"jaredpalmer","id":4060187,"node_id":"MDQ6VXNlcjQwNjAxODc=","avatar_url":"https://avatars2.githubusercontent.com/u/4060187?v=4","gravatar_id":"","url":"https://api.github.com/users/jaredpalmer","html_url":"https://github.com/jaredpalmer","followers_url":"https://api.github.com/users/jaredpalmer/followers","following_url":"https://api.github.com/users/jaredpalmer/following{/other_user}","gists_url":"https://api.github.com/users/jaredpalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpalmer/subscriptions","organizations_url":"https://api.github.com/users/jaredpalmer/orgs","repos_url":"https://api.github.com/users/jaredpalmer/repos","events_url":"https://api.github.com/users/jaredpalmer/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpalmer/received_events","type":"User","site_admin":false},"repo":{"id":94367677,"node_id":"MDEwOlJlcG9zaXRvcnk5NDM2NzY3Nw==","name":"formik","full_name":"jaredpalmer/formik","owner":{"login":"jaredpalmer","id":4060187,"node_id":"MDQ6VXNlcjQwNjAxODc=","avatar_url":"https://avatars2.githubusercontent.com/u/4060187?v=4","gravatar_id":"","url":"https://api.github.com/users/jaredpalmer","html_url":"https://github.com/jaredpalmer","followers_url":"https://api.github.com/users/jaredpalmer/followers","following_url":"https://api.github.com/users/jaredpalmer/following{/other_user}","gists_url":"https://api.github.com/users/jaredpalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpalmer/subscriptions","organizations_url":"https://api.github.com/users/jaredpalmer/orgs","repos_url":"https://api.github.com/users/jaredpalmer/repos","events_url":"https://api.github.com/users/jaredpalmer/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpalmer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaredpalmer/formik","description":"Build forms in React, without the tears 😭 ","fork":false,"url":"https://api.github.com/repos/jaredpalmer/formik","forks_url":"https://api.github.com/repos/jaredpalmer/formik/forks","keys_url":"https://api.github.com/repos/jaredpalmer/formik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaredpalmer/formik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaredpalmer/formik/teams","hooks_url":"https://api.github.com/repos/jaredpalmer/formik/hooks","issue_events_url":"https://api.github.com/repos/jaredpalmer/formik/issues/events{/number}","events_url":"https://api.github.com/repos/jaredpalmer/formik/events","assignees_url":"https://api.github.com/repos/jaredpalmer/formik/assignees{/user}","branches_url":"https://api.github.com/repos/jaredpalmer/formik/branches{/branch}","tags_url":"https://api.github.com/repos/jaredpalmer/formik/tags","blobs_url":"https://api.github.com/repos/jaredpalmer/formik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaredpalmer/formik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaredpalmer/formik/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaredpalmer/formik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaredpalmer/formik/statuses/{sha}","languages_url":"https://api.github.com/repos/jaredpalmer/formik/languages","stargazers_url":"https://api.github.com/repos/jaredpalmer/formik/stargazers","contributors_url":"https://api.github.com/repos/jaredpalmer/formik/contributors","subscribers_url":"https://api.github.com/repos/jaredpalmer/formik/subscribers","subscription_url":"https://api.github.com/repos/jaredpalmer/formik/subscription","commits_url":"https://api.github.com/repos/jaredpalmer/formik/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaredpalmer/formik/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaredpalmer/formik/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaredpalmer/formik/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaredpalmer/formik/contents/{+path}","compare_url":"https://api.github.com/repos/jaredpalmer/formik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaredpalmer/formik/merges","archive_url":"https://api.github.com/repos/jaredpalmer/formik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaredpalmer/formik/downloads","issues_url":"https://api.github.com/repos/jaredpalmer/formik/issues{/number}","pulls_url":"https://api.github.com/repos/jaredpalmer/formik/pulls{/number}","milestones_url":"https://api.github.com/repos/jaredpalmer/formik/milestones{/number}","notifications_url":"https://api.github.com/repos/jaredpalmer/formik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaredpalmer/formik/labels{/name}","releases_url":"https://api.github.com/repos/jaredpalmer/formik/releases{/id}","deployments_url":"https://api.github.com/repos/jaredpalmer/formik/deployments","created_at":"2017-06-14T19:50:59Z","updated_at":"2018-07-08T21:48:22Z","pushed_at":"2018-07-08T21:48:15Z","git_url":"git://github.com/jaredpalmer/formik.git","ssh_url":"git@github.com:jaredpalmer/formik.git","clone_url":"https://github.com/jaredpalmer/formik.git","svn_url":"https://github.com/jaredpalmer/formik","homepage":"https://npm.im/formik","size":1591,"stargazers_count":7699,"watchers_count":7699,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":353,"mirror_url":null,"archived":false,"open_issues_count":160,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":353,"open_issues":160,"watchers":7699,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jaredpalmer/formik/pulls/745"},"html":{"href":"https://github.com/jaredpalmer/formik/pull/745"},"issue":{"href":"https://api.github.com/repos/jaredpalmer/formik/issues/745"},"comments":{"href":"https://api.github.com/repos/jaredpalmer/formik/issues/745/comments"},"review_comments":{"href":"https://api.github.com/repos/jaredpalmer/formik/pulls/745/comments"},"review_comment":{"href":"https://api.github.com/repos/jaredpalmer/formik/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jaredpalmer/formik/pulls/745/commits"},"statuses":{"href":"https://api.github.com/repos/jaredpalmer/formik/statuses/66a31e78586f39f29d404d4a36c69eaa3fcc599a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Andreyco"}}