Open kietheros opened 2 months ago
Good catch, it should be "If you use DynamicDocument" instead
@bagerard As far as I understand, with DynamicDocument, fields that do not exist in the schema still become attributes of the model instance. I think that this sentence wants to mention Document with strict is set to False.
I am confused about this line in mongoengine docs
I tested with Document, when loading a document which has a field not defined in schema, mongoengine raises mongoengine.errors.FieldDoesNotExist