{"action":"created","issue":{"url":"https://api.github.com/repos/jaredpalmer/formik/issues/2072","repository_url":"https://api.github.com/repos/jaredpalmer/formik","labels_url":"https://api.github.com/repos/jaredpalmer/formik/issues/2072/labels{/name}","comments_url":"https://api.github.com/repos/jaredpalmer/formik/issues/2072/comments","events_url":"https://api.github.com/repos/jaredpalmer/formik/issues/2072/events","html_url":"https://github.com/jaredpalmer/formik/pull/2072","id":529014417,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ1OTcwNDM2","number":2072,"title":"handle an empty array value argument to setIn","user":{"login":"wingedearth","id":14636217,"node_id":"MDQ6VXNlcjE0NjM2MjE3","avatar_url":"https://avatars0.githubusercontent.com/u/14636217?v=4","gravatar_id":"","url":"https://api.github.com/users/wingedearth","html_url":"https://github.com/wingedearth","followers_url":"https://api.github.com/users/wingedearth/followers","following_url":"https://api.github.com/users/wingedearth/following{/other_user}","gists_url":"https://api.github.com/users/wingedearth/gists{/gist_id}","starred_url":"https://api.github.com/users/wingedearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wingedearth/subscriptions","organizations_url":"https://api.github.com/users/wingedearth/orgs","repos_url":"https://api.github.com/users/wingedearth/repos","events_url":"https://api.github.com/users/wingedearth/events{/privacy}","received_events_url":"https://api.github.com/users/wingedearth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-11-26T22:49:51Z","updated_at":"2019-11-26T22:51:04Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/jaredpalmer/formik/pulls/2072","html_url":"https://github.com/jaredpalmer/formik/pull/2072","diff_url":"https://github.com/jaredpalmer/formik/pull/2072.diff","patch_url":"https://github.com/jaredpalmer/formik/pull/2072.patch"},"body":"setIn checks for an undefined value argument but does not check for empty array. This is causing the bug described in:\r\n\r\nhttps://github.com/jaredpalmer/formik/issues/2050\r\n\r\nThis change resolves the bug by treating a value of empty array like an undefined value for purposes of removing arrays."},"comment":{"url":"https://api.github.com/repos/jaredpalmer/formik/issues/comments/558851379","html_url":"https://github.com/jaredpalmer/formik/pull/2072#issuecomment-558851379","issue_url":"https://api.github.com/repos/jaredpalmer/formik/issues/2072","id":558851379,"node_id":"MDEyOklzc3VlQ29tbWVudDU1ODg1MTM3OQ==","user":{"login":"codesandbox[bot]","id":54081388,"node_id":"MDM6Qm90NTQwODEzODg=","avatar_url":"https://avatars2.githubusercontent.com/in/38409?v=4","gravatar_id":"","url":"https://api.github.com/users/codesandbox%5Bbot%5D","html_url":"https://github.com/apps/codesandbox","followers_url":"https://api.github.com/users/codesandbox%5Bbot%5D/followers","following_url":"https://api.github.com/users/codesandbox%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codesandbox%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codesandbox%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codesandbox%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codesandbox%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codesandbox%5Bbot%5D/repos","events_url":"https://api.github.com/users/codesandbox%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codesandbox%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-11-26T22:51:04Z","updated_at":"2019-11-26T22:51:04Z","author_association":"NONE","body":"This pull request is automatically built and testable in [CodeSandbox](https://codesandbox.io).\n\n  To see build info of the built libraries, click [here](https://ci.codesandbox.io/status/jaredpalmer/formik/pr/2072/builds/2753) or the icon next to each commit SHA.\n\nLatest deployment of this branch, based on commit 06809f8e854b3c39fd6516fa377359edfd5e2b2e:\n\n|Sandbox| Source |\n|--|--|\n|[Formik TypeScript Playground](https://codesandbox.io/s/formik-typescript-playground-bnm5s)| Configuration |\n"}}
{"actor":{"display_login":"codesandbox"}}