You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have an object specified as a 'default' attribute in your model, all instances of this model will share a reference to that object. Is there a reason we don't do a deep clone on the defaults object when creating a new Model instance?
As it is currently, if you make changes to a deep attribute of that object, you will be updating all model instances. Is this by design?
The text was updated successfully, but these errors were encountered:
If you have an object specified as a 'default' attribute in your model, all instances of this model will share a reference to that object. Is there a reason we don't do a deep clone on the defaults object when creating a new Model instance?
As it is currently, if you make changes to a deep attribute of that object, you will be updating all model instances. Is this by design?
The text was updated successfully, but these errors were encountered: