LearnBoost/mongoose — Issue #739: type casting in arrays doesn't work
Author: lautgesetz
Created: 2012-02-17 15:00:54+00:00
State: open

Creating a type like [{type: String, lowercase: true}] doesn't currently work. To get it to work you have to create a separate schema for the lowercased string, but that involves an extra layer of complexity both in mongoose and at the mongodb level. So it would be nice if the above example worked.