gameboy86 / matchbox-orm

ORM package for google Cloud Firestore.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default value for Model.ListField does not get set

fernandovalera opened this issue · comments

I have ran into an issue where I set the 'default' param for the subclass of a Model object to be an empty list, however it does not get set when I create a new object of that subclass with no params.

Default values should be filled into the field so that they can be used right away, before new model objects are even saved.

Hi, thanks for issue. I have been publish version 0.2.2 witch fix this bug. Please let me know if everything is ok