Jérôme Lafréchoux

Results 528 comments of Jérôme Lafréchoux

I didn't take the time to investigate much but from what you're writing here, we could do what you propose. Use `None` as default and override in framework if `None`....

From the discussions about validation decorators priorities in marshmallow, I think I'd rather stick to a simple hook approach where we keep control on the execution order.

Also, it would be great if the validation hook was called recursively on embedded documents. Currently, when I need validation on an `EmbeddedDocument`, I must call it manually from each...

Thank you both for your thoughts about this. I think the idea of the author of the lib (@touilleMan) was to make it simple, as opposed to mongoengine, more raw...

I don't intend to introduce a complex query feature in the short term. However, I'm open to a feature allowing to pick field names from the document object to catch...

Yes, you can only inherit from a document that is also registered in the instance. You need to register `UserSync` in the async instance too. Note there are side effects...

You're right about the `_cls` field. I can't think of a clean way to support your use case. Not saying it is not feasible with or even without modifications to...

```python comments = fields.EmbeddedField(Comment, missing=[], many=True) ``` Don't use `many`. Use a `ListField(EmbeddedField)`. Also (unrelated), don't pass a mutable to `missing` or it will be shared with all objects (Python...

Don't blame yourself. This was not obvious. People used to working with Marshmallow are likely to face the same issue. @touilleMan, should we add a warning in the code ?...

I'm currently focusing on shipping umongo 3. There's been prior discussion about this a while (4 years) ago in #248. It might be worth checking the state of geojeon and...