barnybug/mongokit — comment on commit bffb8ca3b109acef1b723337bacf1f71e8fe8de2
File:  line 0
By namlook:

Well, this is a tough one. It's not actually a bug but a behavior. This append with any fields if there are listed into the structure and are no present into the document. If I add this change, it could break many applications out there.

So, I can see two solutions :

* You can use MongoLite (https://github.com/namlook/MongoLite) which doesn't relied on validation but on convention,
* We can change the way MongoKit behave for the next version and add multiple warning.

For know, I suggest you to take a look to MongoLite. It's a lighter piece of code which need little change to migrate from MongoKit. But if this pull request as enough vote, then we can make another version and change MongoKit's behavior...