{"action":"opened","number":153,"pull_request":{"url":"https://api.github.com/repos/christianalfoni/formsy-react/pulls/153","id":38947887,"html_url":"https://github.com/christianalfoni/formsy-react/pull/153","diff_url":"https://github.com/christianalfoni/formsy-react/pull/153.diff","patch_url":"https://github.com/christianalfoni/formsy-react/pull/153.patch","issue_url":"https://api.github.com/repos/christianalfoni/formsy-react/issues/153","number":153,"state":"open","locked":false,"title":"* Fixed mapModel issue when input name is nested","user":{"login":"garbin","id":63785,"avatar_url":"https://avatars.githubusercontent.com/u/63785?v=3","gravatar_id":"","url":"https://api.github.com/users/garbin","html_url":"https://github.com/garbin","followers_url":"https://api.github.com/users/garbin/followers","following_url":"https://api.github.com/users/garbin/following{/other_user}","gists_url":"https://api.github.com/users/garbin/gists{/gist_id}","starred_url":"https://api.github.com/users/garbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbin/subscriptions","organizations_url":"https://api.github.com/users/garbin/orgs","repos_url":"https://api.github.com/users/garbin/repos","events_url":"https://api.github.com/users/garbin/events{/privacy}","received_events_url":"https://api.github.com/users/garbin/received_events","type":"User","site_admin":false},"body":"you mentioned on https://github.com/christianalfoni/formsy-react/issues/120#issuecomment-104647908 has bug\r\nMy code is\r\n```\r\n<input name=\"product\" />\r\n<input name=\"stock.price\" />\r\n<input name=\"stock.sku\" />\r\n```\r\nmappedModel should be\r\n```\r\n{\r\n   product_name:...,\r\n   stock:{\r\n      price: ...,\r\n      sku: ...\r\n   }\r\n}\r\n```\r\nBut In my situation, the mappedModel is\r\n{\r\n    price: ...\r\n    sku:....\r\n    product_name: ...\r\n    stock:{}\r\n}\r\n\r\nSo I created this PR to fixed it.","created_at":"2015-07-01T04:44:09Z","updated_at":"2015-07-01T04:44:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/christianalfoni/formsy-react/pulls/153/commits","review_comments_url":"https://api.github.com/repos/christianalfoni/formsy-react/pulls/153/comments","review_comment_url":"https://api.github.com/repos/christianalfoni/formsy-react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/christianalfoni/formsy-react/issues/153/comments","statuses_url":"https://api.github.com/repos/christianalfoni/formsy-react/statuses/958bd9822308ea603c117f894ef440717879103e","head":{"label":"garbin:master","ref":"master","sha":"958bd9822308ea603c117f894ef440717879103e","user":{"login":"garbin","id":63785,"avatar_url":"https://avatars.githubusercontent.com/u/63785?v=3","gravatar_id":"","url":"https://api.github.com/users/garbin","html_url":"https://github.com/garbin","followers_url":"https://api.github.com/users/garbin/followers","following_url":"https://api.github.com/users/garbin/following{/other_user}","gists_url":"https://api.github.com/users/garbin/gists{/gist_id}","starred_url":"https://api.github.com/users/garbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbin/subscriptions","organizations_url":"https://api.github.com/users/garbin/orgs","repos_url":"https://api.github.com/users/garbin/repos","events_url":"https://api.github.com/users/garbin/events{/privacy}","received_events_url":"https://api.github.com/users/garbin/received_events","type":"User","site_admin":false},"repo":{"id":38349143,"name":"formsy-react","full_name":"garbin/formsy-react","owner":{"login":"garbin","id":63785,"avatar_url":"https://avatars.githubusercontent.com/u/63785?v=3","gravatar_id":"","url":"https://api.github.com/users/garbin","html_url":"https://github.com/garbin","followers_url":"https://api.github.com/users/garbin/followers","following_url":"https://api.github.com/users/garbin/following{/other_user}","gists_url":"https://api.github.com/users/garbin/gists{/gist_id}","starred_url":"https://api.github.com/users/garbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbin/subscriptions","organizations_url":"https://api.github.com/users/garbin/orgs","repos_url":"https://api.github.com/users/garbin/repos","events_url":"https://api.github.com/users/garbin/events{/privacy}","received_events_url":"https://api.github.com/users/garbin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/garbin/formsy-react","description":"A form input builder and validator for React JS","fork":true,"url":"https://api.github.com/repos/garbin/formsy-react","forks_url":"https://api.github.com/repos/garbin/formsy-react/forks","keys_url":"https://api.github.com/repos/garbin/formsy-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garbin/formsy-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garbin/formsy-react/teams","hooks_url":"https://api.github.com/repos/garbin/formsy-react/hooks","issue_events_url":"https://api.github.com/repos/garbin/formsy-react/issues/events{/number}","events_url":"https://api.github.com/repos/garbin/formsy-react/events","assignees_url":"https://api.github.com/repos/garbin/formsy-react/assignees{/user}","branches_url":"https://api.github.com/repos/garbin/formsy-react/branches{/branch}","tags_url":"https://api.github.com/repos/garbin/formsy-react/tags","blobs_url":"https://api.github.com/repos/garbin/formsy-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garbin/formsy-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garbin/formsy-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/garbin/formsy-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garbin/formsy-react/statuses/{sha}","languages_url":"https://api.github.com/repos/garbin/formsy-react/languages","stargazers_url":"https://api.github.com/repos/garbin/formsy-react/stargazers","contributors_url":"https://api.github.com/repos/garbin/formsy-react/contributors","subscribers_url":"https://api.github.com/repos/garbin/formsy-react/subscribers","subscription_url":"https://api.github.com/repos/garbin/formsy-react/subscription","commits_url":"https://api.github.com/repos/garbin/formsy-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/garbin/formsy-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/garbin/formsy-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/garbin/formsy-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/garbin/formsy-react/contents/{+path}","compare_url":"https://api.github.com/repos/garbin/formsy-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garbin/formsy-react/merges","archive_url":"https://api.github.com/repos/garbin/formsy-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garbin/formsy-react/downloads","issues_url":"https://api.github.com/repos/garbin/formsy-react/issues{/number}","pulls_url":"https://api.github.com/repos/garbin/formsy-react/pulls{/number}","milestones_url":"https://api.github.com/repos/garbin/formsy-react/milestones{/number}","notifications_url":"https://api.github.com/repos/garbin/formsy-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garbin/formsy-react/labels{/name}","releases_url":"https://api.github.com/repos/garbin/formsy-react/releases{/id}","created_at":"2015-07-01T04:14:03Z","updated_at":"2015-07-01T04:14:03Z","pushed_at":"2015-07-01T04:37:03Z","git_url":"git://github.com/garbin/formsy-react.git","ssh_url":"git@github.com:garbin/formsy-react.git","clone_url":"https://github.com/garbin/formsy-react.git","svn_url":"https://github.com/garbin/formsy-react","homepage":null,"size":2638,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"christianalfoni:master","ref":"master","sha":"07f2a51a305a765766e9529eb25488e236714603","user":{"login":"christianalfoni","id":3956929,"avatar_url":"https://avatars.githubusercontent.com/u/3956929?v=3","gravatar_id":"","url":"https://api.github.com/users/christianalfoni","html_url":"https://github.com/christianalfoni","followers_url":"https://api.github.com/users/christianalfoni/followers","following_url":"https://api.github.com/users/christianalfoni/following{/other_user}","gists_url":"https://api.github.com/users/christianalfoni/gists{/gist_id}","starred_url":"https://api.github.com/users/christianalfoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianalfoni/subscriptions","organizations_url":"https://api.github.com/users/christianalfoni/orgs","repos_url":"https://api.github.com/users/christianalfoni/repos","events_url":"https://api.github.com/users/christianalfoni/events{/privacy}","received_events_url":"https://api.github.com/users/christianalfoni/received_events","type":"User","site_admin":false},"repo":{"id":25566711,"name":"formsy-react","full_name":"christianalfoni/formsy-react","owner":{"login":"christianalfoni","id":3956929,"avatar_url":"https://avatars.githubusercontent.com/u/3956929?v=3","gravatar_id":"","url":"https://api.github.com/users/christianalfoni","html_url":"https://github.com/christianalfoni","followers_url":"https://api.github.com/users/christianalfoni/followers","following_url":"https://api.github.com/users/christianalfoni/following{/other_user}","gists_url":"https://api.github.com/users/christianalfoni/gists{/gist_id}","starred_url":"https://api.github.com/users/christianalfoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianalfoni/subscriptions","organizations_url":"https://api.github.com/users/christianalfoni/orgs","repos_url":"https://api.github.com/users/christianalfoni/repos","events_url":"https://api.github.com/users/christianalfoni/events{/privacy}","received_events_url":"https://api.github.com/users/christianalfoni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christianalfoni/formsy-react","description":"A form input builder and validator for React JS","fork":false,"url":"https://api.github.com/repos/christianalfoni/formsy-react","forks_url":"https://api.github.com/repos/christianalfoni/formsy-react/forks","keys_url":"https://api.github.com/repos/christianalfoni/formsy-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christianalfoni/formsy-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christianalfoni/formsy-react/teams","hooks_url":"https://api.github.com/repos/christianalfoni/formsy-react/hooks","issue_events_url":"https://api.github.com/repos/christianalfoni/formsy-react/issues/events{/number}","events_url":"https://api.github.com/repos/christianalfoni/formsy-react/events","assignees_url":"https://api.github.com/repos/christianalfoni/formsy-react/assignees{/user}","branches_url":"https://api.github.com/repos/christianalfoni/formsy-react/branches{/branch}","tags_url":"https://api.github.com/repos/christianalfoni/formsy-react/tags","blobs_url":"https://api.github.com/repos/christianalfoni/formsy-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christianalfoni/formsy-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christianalfoni/formsy-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/christianalfoni/formsy-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christianalfoni/formsy-react/statuses/{sha}","languages_url":"https://api.github.com/repos/christianalfoni/formsy-react/languages","stargazers_url":"https://api.github.com/repos/christianalfoni/formsy-react/stargazers","contributors_url":"https://api.github.com/repos/christianalfoni/formsy-react/contributors","subscribers_url":"https://api.github.com/repos/christianalfoni/formsy-react/subscribers","subscription_url":"https://api.github.com/repos/christianalfoni/formsy-react/subscription","commits_url":"https://api.github.com/repos/christianalfoni/formsy-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/christianalfoni/formsy-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/christianalfoni/formsy-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/christianalfoni/formsy-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/christianalfoni/formsy-react/contents/{+path}","compare_url":"https://api.github.com/repos/christianalfoni/formsy-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christianalfoni/formsy-react/merges","archive_url":"https://api.github.com/repos/christianalfoni/formsy-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christianalfoni/formsy-react/downloads","issues_url":"https://api.github.com/repos/christianalfoni/formsy-react/issues{/number}","pulls_url":"https://api.github.com/repos/christianalfoni/formsy-react/pulls{/number}","milestones_url":"https://api.github.com/repos/christianalfoni/formsy-react/milestones{/number}","notifications_url":"https://api.github.com/repos/christianalfoni/formsy-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christianalfoni/formsy-react/labels{/name}","releases_url":"https://api.github.com/repos/christianalfoni/formsy-react/releases{/id}","created_at":"2014-10-22T06:58:33Z","updated_at":"2015-07-01T03:05:08Z","pushed_at":"2015-07-01T04:44:09Z","git_url":"git://github.com/christianalfoni/formsy-react.git","ssh_url":"git@github.com:christianalfoni/formsy-react.git","clone_url":"https://github.com/christianalfoni/formsy-react.git","svn_url":"https://github.com/christianalfoni/formsy-react","homepage":null,"size":2638,"stargazers_count":311,"watchers_count":311,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":24,"forks":55,"open_issues":24,"watchers":311,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/christianalfoni/formsy-react/pulls/153"},"html":{"href":"https://github.com/christianalfoni/formsy-react/pull/153"},"issue":{"href":"https://api.github.com/repos/christianalfoni/formsy-react/issues/153"},"comments":{"href":"https://api.github.com/repos/christianalfoni/formsy-react/issues/153/comments"},"review_comments":{"href":"https://api.github.com/repos/christianalfoni/formsy-react/pulls/153/comments"},"review_comment":{"href":"https://api.github.com/repos/christianalfoni/formsy-react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/christianalfoni/formsy-react/pulls/153/commits"},"statuses":{"href":"https://api.github.com/repos/christianalfoni/formsy-react/statuses/958bd9822308ea603c117f894ef440717879103e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":4,"changed_files":3}}