foam-framework / foam-framework/foam

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

Open
#425 1 comment 0 reactions 1 assignee Claimed by @kgrgreer View on GitHub
bug help wanted question
Dominant language
JavaScript
Stars
783
Forks
51
PR merge metrics
No merged PRs in 30d

Description

@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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.