You're right, this is a bug. It will be fixed in the version 0.6.
For the time beeing, I suggest you to overwrite the `validate` method
and check if the field `questions` is not empty:
def validate(self, *args, **kwargs):
assert len(self['questions']), 'self.questions is required'
super(Test, self).validate(*args, **kwargs)
If all goes well, I expected the release of version 0.6 in two week maximum.
N.
This feature will completely change the way of how MongoKit work. On
the source code and on the usability. So I shall not integrate it in
0.5.x
Anyway, when 0.6 will be out, it will be very, highly recommended to
migrate to 0.6.x. The branch 0.5.x will be here only for a smoother
migration.
N.