{"action":"closed","issue":{"url":"https://api.github.com/repos/LearnBoost/mongoose/issues/2488","labels_url":"https://api.github.com/repos/LearnBoost/mongoose/issues/2488/labels{/name}","comments_url":"https://api.github.com/repos/LearnBoost/mongoose/issues/2488/comments","events_url":"https://api.github.com/repos/LearnBoost/mongoose/issues/2488/events","html_url":"https://github.com/LearnBoost/mongoose/issues/2488","id":49666489,"number":2488,"title":"Is it possible create string subdocument array","user":{"login":"Mirodil","id":1898801,"avatar_url":"https://avatars.githubusercontent.com/u/1898801?v=3","gravatar_id":"","url":"https://api.github.com/users/Mirodil","html_url":"https://github.com/Mirodil","followers_url":"https://api.github.com/users/Mirodil/followers","following_url":"https://api.github.com/users/Mirodil/following{/other_user}","gists_url":"https://api.github.com/users/Mirodil/gists{/gist_id}","starred_url":"https://api.github.com/users/Mirodil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mirodil/subscriptions","organizations_url":"https://api.github.com/users/Mirodil/orgs","repos_url":"https://api.github.com/users/Mirodil/repos","events_url":"https://api.github.com/users/Mirodil/events{/privacy}","received_events_url":"https://api.github.com/users/Mirodil/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/LearnBoost/mongoose/milestones/24","labels_url":"https://api.github.com/repos/LearnBoost/mongoose/milestones/24/labels","id":949979,"number":24,"title":"3.8.23","description":"","creator":{"login":"vkarpov15","id":1620265,"avatar_url":"https://avatars.githubusercontent.com/u/1620265?v=3","gravatar_id":"","url":"https://api.github.com/users/vkarpov15","html_url":"https://github.com/vkarpov15","followers_url":"https://api.github.com/users/vkarpov15/followers","following_url":"https://api.github.com/users/vkarpov15/following{/other_user}","gists_url":"https://api.github.com/users/vkarpov15/gists{/gist_id}","starred_url":"https://api.github.com/users/vkarpov15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkarpov15/subscriptions","organizations_url":"https://api.github.com/users/vkarpov15/orgs","repos_url":"https://api.github.com/users/vkarpov15/repos","events_url":"https://api.github.com/users/vkarpov15/events{/privacy}","received_events_url":"https://api.github.com/users/vkarpov15/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":3,"state":"open","created_at":"2015-01-24T23:14:27Z","updated_at":"2015-02-04T22:47:47Z","due_on":"2015-02-14T05:00:00Z","closed_at":null},"comments":2,"created_at":"2014-11-21T07:24:25Z","updated_at":"2015-02-04T22:47:47Z","closed_at":"2015-02-04T22:47:47Z","body":"For example:\r\n```javascript\r\nvar ItemSchema = new Schema({    \r\n    /**\r\n     * item title\r\n     * */\r\n    title: {\r\n        type: String,\r\n        trim: true,\r\n        required: [true, 'This title is required']\r\n    },    \r\n    /**\r\n     * item tags\r\n     * */\r\n    tags: [\r\n        {\r\n\t\t\ttype: String,\r\n\t\t\ttrim: true,\r\n\t\t\tlowercase: true\r\n\t\t}\r\n    ]\r\n});\r\n```\r\n\r\nin the above example `lowercase: true` for `tags` string array field doesn't working at all.\r\n\r\nis it possible create such type of field?\r\n"}}