foam-framework/foam

Should clone() run initializers? ... probably by issuing a create()?

Open

#425 建立於 2015年10月8日

在 GitHub 查看
 (1 留言) (0 反應) (1 負責人)JavaScript (789 star) (57 fork)batch import
bughelp wantedquestion

描述

@jacksonic, @adamvy, and I were discussing this today. We've noted that dynamicValue() breaks init() doesn't run on objects that come out of a DAO that produces clones. We are pretty confident that this is because clone() doesn't actually create() a new object, and that it probably should.

@kgrgreer, can you offer your thoughts on this?

貢獻者指南

Should clone() run initializers? ... probably by issuing a create()? · foam-framework/foam#425 | Good First Issue