mongokit
mongokit copied to clipboard
dot notation: validation_errors was not found in structure. Add it as attribute instead
I keep seeing this funny warning when saving documents. It does not cause me any troubles, but I thought I still better report it.
Namlook, I'm pretty sure you have an idea where this could be coming from. If not, just tell me, and I will provide details.
you're copying values from WTForms objects and your chosen method copies 'validation_errors' field, which is not in your structure.
as long as your structure doesn't contain a 'validation_errors' field, you can safely ignore this
set dot_notation_warning = False
(which is the default, i believe?) in your Document subclass and it will go away