{"action":"closed","number":454,"pull_request":{"url":"https://api.github.com/repos/jaredpalmer/formik/pulls/454","id":170921091,"html_url":"https://github.com/jaredpalmer/formik/pull/454","diff_url":"https://github.com/jaredpalmer/formik/pull/454.diff","patch_url":"https://github.com/jaredpalmer/formik/pull/454.patch","issue_url":"https://api.github.com/repos/jaredpalmer/formik/issues/454","number":454,"state":"closed","locked":false,"title":"Added type safety to both field and value of setFieldValue","user":{"login":"Shurelia","id":20479454,"avatar_url":"https://avatars3.githubusercontent.com/u/20479454?v=4","gravatar_id":"","url":"https://api.github.com/users/Shurelia","html_url":"https://github.com/Shurelia","followers_url":"https://api.github.com/users/Shurelia/followers","following_url":"https://api.github.com/users/Shurelia/following{/other_user}","gists_url":"https://api.github.com/users/Shurelia/gists{/gist_id}","starred_url":"https://api.github.com/users/Shurelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shurelia/subscriptions","organizations_url":"https://api.github.com/users/Shurelia/orgs","repos_url":"https://api.github.com/users/Shurelia/repos","events_url":"https://api.github.com/users/Shurelia/events{/privacy}","received_events_url":"https://api.github.com/users/Shurelia/received_events","type":"User","site_admin":false},"body":"Fixes #453. Removed overloaded function definitions. `setFieldValue` takes a type parameter which will be inferred based on the `field` passed to the method, which will then be used to look up the type to check against the passed `value`.\r\n\r\nNote, I have not tested these changes using the <Formik /> syntax, only the withFormik<>()() syntax.","created_at":"2018-02-23T02:54:01Z","updated_at":"2018-03-14T15:22:28Z","closed_at":"2018-03-14T15:22:28Z","merged_at":null,"merge_commit_sha":"044a488d8fc5b9e5b6e699b067c0e15888eb338f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jaredpalmer/formik/pulls/454/commits","review_comments_url":"https://api.github.com/repos/jaredpalmer/formik/pulls/454/comments","review_comment_url":"https://api.github.com/repos/jaredpalmer/formik/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jaredpalmer/formik/issues/454/comments","statuses_url":"https://api.github.com/repos/jaredpalmer/formik/statuses/1a72373ff29848f07dfaac398e5e716a5af538bf","head":{"label":"Shurelia:setfieldvalue-safety","ref":"setfieldvalue-safety","sha":"1a72373ff29848f07dfaac398e5e716a5af538bf","user":{"login":"Shurelia","id":20479454,"avatar_url":"https://avatars3.githubusercontent.com/u/20479454?v=4","gravatar_id":"","url":"https://api.github.com/users/Shurelia","html_url":"https://github.com/Shurelia","followers_url":"https://api.github.com/users/Shurelia/followers","following_url":"https://api.github.com/users/Shurelia/following{/other_user}","gists_url":"https://api.github.com/users/Shurelia/gists{/gist_id}","starred_url":"https://api.github.com/users/Shurelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shurelia/subscriptions","organizations_url":"https://api.github.com/users/Shurelia/orgs","repos_url":"https://api.github.com/users/Shurelia/repos","events_url":"https://api.github.com/users/Shurelia/events{/privacy}","received_events_url":"https://api.github.com/users/Shurelia/received_events","type":"User","site_admin":false},"repo":{"id":118954970,"name":"formik","full_name":"Shurelia/formik","owner":{"login":"Shurelia","id":20479454,"avatar_url":"https://avatars3.githubusercontent.com/u/20479454?v=4","gravatar_id":"","url":"https://api.github.com/users/Shurelia","html_url":"https://github.com/Shurelia","followers_url":"https://api.github.com/users/Shurelia/followers","following_url":"https://api.github.com/users/Shurelia/following{/other_user}","gists_url":"https://api.github.com/users/Shurelia/gists{/gist_id}","starred_url":"https://api.github.com/users/Shurelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shurelia/subscriptions","organizations_url":"https://api.github.com/users/Shurelia/orgs","repos_url":"https://api.github.com/users/Shurelia/repos","events_url":"https://api.github.com/users/Shurelia/events{/privacy}","received_events_url":"https://api.github.com/users/Shurelia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Shurelia/formik","description":"Build forms in React, without the tears 😭 ","fork":true,"url":"https://api.github.com/repos/Shurelia/formik","forks_url":"https://api.github.com/repos/Shurelia/formik/forks","keys_url":"https://api.github.com/repos/Shurelia/formik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shurelia/formik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shurelia/formik/teams","hooks_url":"https://api.github.com/repos/Shurelia/formik/hooks","issue_events_url":"https://api.github.com/repos/Shurelia/formik/issues/events{/number}","events_url":"https://api.github.com/repos/Shurelia/formik/events","assignees_url":"https://api.github.com/repos/Shurelia/formik/assignees{/user}","branches_url":"https://api.github.com/repos/Shurelia/formik/branches{/branch}","tags_url":"https://api.github.com/repos/Shurelia/formik/tags","blobs_url":"https://api.github.com/repos/Shurelia/formik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shurelia/formik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shurelia/formik/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shurelia/formik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shurelia/formik/statuses/{sha}","languages_url":"https://api.github.com/repos/Shurelia/formik/languages","stargazers_url":"https://api.github.com/repos/Shurelia/formik/stargazers","contributors_url":"https://api.github.com/repos/Shurelia/formik/contributors","subscribers_url":"https://api.github.com/repos/Shurelia/formik/subscribers","subscription_url":"https://api.github.com/repos/Shurelia/formik/subscription","commits_url":"https://api.github.com/repos/Shurelia/formik/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shurelia/formik/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shurelia/formik/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shurelia/formik/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shurelia/formik/contents/{+path}","compare_url":"https://api.github.com/repos/Shurelia/formik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shurelia/formik/merges","archive_url":"https://api.github.com/repos/Shurelia/formik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shurelia/formik/downloads","issues_url":"https://api.github.com/repos/Shurelia/formik/issues{/number}","pulls_url":"https://api.github.com/repos/Shurelia/formik/pulls{/number}","milestones_url":"https://api.github.com/repos/Shurelia/formik/milestones{/number}","notifications_url":"https://api.github.com/repos/Shurelia/formik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shurelia/formik/labels{/name}","releases_url":"https://api.github.com/repos/Shurelia/formik/releases{/id}","deployments_url":"https://api.github.com/repos/Shurelia/formik/deployments","created_at":"2018-01-25T19:01:21Z","updated_at":"2018-01-25T19:01:23Z","pushed_at":"2018-02-23T03:02:55Z","git_url":"git://github.com/Shurelia/formik.git","ssh_url":"git@github.com:Shurelia/formik.git","clone_url":"https://github.com/Shurelia/formik.git","svn_url":"https://github.com/Shurelia/formik","homepage":"https://npm.im/formik","size":943,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jaredpalmer:master","ref":"master","sha":"fde20a6ef323f789a6cb591f081ef00cd91273bc","user":{"login":"jaredpalmer","id":4060187,"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,"name":"formik","full_name":"jaredpalmer/formik","owner":{"login":"jaredpalmer","id":4060187,"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-03-14T14:54:36Z","pushed_at":"2018-03-14T15:19:05Z","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":918,"stargazers_count":5511,"watchers_count":5511,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":219,"mirror_url":null,"archived":false,"open_issues_count":71,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":219,"open_issues":71,"watchers":5511,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jaredpalmer/formik/pulls/454"},"html":{"href":"https://github.com/jaredpalmer/formik/pull/454"},"issue":{"href":"https://api.github.com/repos/jaredpalmer/formik/issues/454"},"comments":{"href":"https://api.github.com/repos/jaredpalmer/formik/issues/454/comments"},"review_comments":{"href":"https://api.github.com/repos/jaredpalmer/formik/pulls/454/comments"},"review_comment":{"href":"https://api.github.com/repos/jaredpalmer/formik/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jaredpalmer/formik/pulls/454/commits"},"statuses":{"href":"https://api.github.com/repos/jaredpalmer/formik/statuses/1a72373ff29848f07dfaac398e5e716a5af538bf"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":12,"deletions":30,"changed_files":1}}
{"actor":{"display_login":"Shurelia"}}