namlook/mongokit — pull request #75 by silver- (2012-02-01 11:00:17+00:00)
Title: Fixed bug in structure inheritance

Thanks for your great package! I really like using it, but unfortunately, I believe there's a bug in it.

If inherited document doesn't defines its own schema, it can (not intentionally) modify parent schema (which can also affect sibling docs). I've attached a unit-test exposing the bug and a solution.

Hope this helps.