FireO
FireO copied to clipboard
Model.from_dict does not build NestedModel instances for ListField(NestedModel(...))
Description
When a parent model has fields defined as ListField(NestedModel(...)), calling ParentModel.from_dict({...}) with lists of dicts for those fields does not recursively construct the nested model instances.
On object creation, FireO crashes with:
Cannot serialize model 'app.db.foo.Bar with key 'foo/JoKMNfstw3c0LFfat1jG' due to error in field 'listfieldname[0]': 'dict' object has no attribute 'to_db_dict'