{"action":"opened","issue":{"url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1168","labels_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1168/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1168/comments","events_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1168/events","html_url":"https://github.com/aldeed/meteor-autoform/issues/1168","id":103999587,"number":1168,"title":"does update-pushArray support array of builtin types?","user":{"login":"sf-wind","id":4585741,"avatar_url":"https://avatars.githubusercontent.com/u/4585741?v=3","gravatar_id":"","url":"https://api.github.com/users/sf-wind","html_url":"https://github.com/sf-wind","followers_url":"https://api.github.com/users/sf-wind/followers","following_url":"https://api.github.com/users/sf-wind/following{/other_user}","gists_url":"https://api.github.com/users/sf-wind/gists{/gist_id}","starred_url":"https://api.github.com/users/sf-wind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sf-wind/subscriptions","organizations_url":"https://api.github.com/users/sf-wind/orgs","repos_url":"https://api.github.com/users/sf-wind/repos","events_url":"https://api.github.com/users/sf-wind/events{/privacy}","received_events_url":"https://api.github.com/users/sf-wind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-31T07:08:23Z","updated_at":"2015-08-31T07:08:23Z","closed_at":null,"body":"Suppose I have a schema containing the following field:\r\n  purposes :            \r\n    type : [String]\r\n\r\npurposes is an array of strings. \r\n\r\nCan I use update-pushArray to add an item to the array? I can't make it work. \r\n\r\nBy checking the code, it seems no, because the search string is:\r\n    var searchString = SimpleSchema._makeGeneric(scope) + '.$.';\r\n\r\nThere is nothing after the last \".\" in the SimpleSchema. \r\n\r\nIs my understanding correct? and why this is not supported? \r\n\r\nThanks. "}}