marshmallow-mongoengine
marshmallow-mongoengine copied to clipboard
Mongoengine integration with marshmallow
I have a model that requires an integer for the `_id` field, so I am using SequenceField to auto-increment. When creating a new object from the model directly, the object...
I'm not sure if this is a feature request or bug. Say I have the following Documents defined: ```python class Company(Document): products = EmbeddedDocumentListField(Product) class Product(EmbeddedDocument): name = StringField() meta...
`GenericReference._serialize()` returns a `bson.ObjectID` if it's not missing, where it should be cast to str, a la `Reference._serialize()`. This causes JSON serialization issues when attempting to work with `GenericReferenceField`s. Applying...
https://github.com/touilleMan/marshmallow-mongoengine/issues/14
Hi. `marshmallow-mongoengine` uses Marshmallow's `post_dump` / `post_load` decorators. The [docs](http://marshmallow.readthedocs.io/en/latest/api_reference.html#module-marshmallow.decorators) say: > The invocation order of decorated methods of the same type is not guaranteed. If you need to guarantee...