closeio/mongoengine

Remove the `max_length` parameter from the ListField

wojcikstefan opened this issue · 0 comments

Now that MongoDB v3.2 supports document validation, we should just use a $size validator on all of our list fields. The advantage is that it would also work with $push.