{"action":"opened","issue":{"url":"https://api.github.com/repos/aldeed/node-mongo-object/issues/1","repository_url":"https://api.github.com/repos/aldeed/node-mongo-object","labels_url":"https://api.github.com/repos/aldeed/node-mongo-object/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/node-mongo-object/issues/1/comments","events_url":"https://api.github.com/repos/aldeed/node-mongo-object/issues/1/events","html_url":"https://github.com/aldeed/node-mongo-object/issues/1","id":181568039,"number":1,"title":"Setting nested array values does not work properly","user":{"login":"clayne11","id":2831444,"avatar_url":"https://avatars.githubusercontent.com/u/2831444?v=3","gravatar_id":"","url":"https://api.github.com/users/clayne11","html_url":"https://github.com/clayne11","followers_url":"https://api.github.com/users/clayne11/followers","following_url":"https://api.github.com/users/clayne11/following{/other_user}","gists_url":"https://api.github.com/users/clayne11/gists{/gist_id}","starred_url":"https://api.github.com/users/clayne11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clayne11/subscriptions","organizations_url":"https://api.github.com/users/clayne11/orgs","repos_url":"https://api.github.com/users/clayne11/repos","events_url":"https://api.github.com/users/clayne11/events{/privacy}","received_events_url":"https://api.github.com/users/clayne11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-07T01:47:36Z","updated_at":"2016-10-07T01:47:36Z","closed_at":null,"body":"The code in `setValueForPosition` only looks for array paths (`foo[0]`) but not for object paths (ex `foo.bar`).\r\n\r\nThis causes issues when trying to set paths like `one.two[3].four`.\r\n\r\nI will be submitting a PR with a fix along with a test showing the issue."}}
{"actor":{"display_login":"clayne11"}}