Also adds null value capabilities via schema 'null' => true regardless of the field type.
Potential fix for #623.
adds null value capabilities via schema 'null' => true regardless of …
…the field type.
Allows MongoIds and MongoDates in arrays of subobjects.
This pull request passes (merged ded7bb3 into 0809552).
Looks good. Later today I'll see how this does against the data branch. Let me know if you beat me to it.
I'm super swamped with a deadline so probably not, but I hope it helps.
@rmarscher No worries dude, this is great. I'll take it from here.
fwiw: I merged this pull request into my (otherwise clean) Lithium install and it definitely solves #623. Appears to work well with arrays of MongoIDs. Did not test dates.
Ensuring Mongo object arrays don't get stored as strings, fixes #623.…
… Implementing schema null value support, fixes #629.
@rmarscher Just FYI, I ended up having to integrate these changes by hand into the data branch. They'll be on master within a few days.