Skip to content

Fix error with shared state between models.

Compare
Choose a tag to compare
@marshallswain marshallswain released this 21 Dec 01:31
· 501 commits to master since this release

A bug was causing shared copiesById state between all of the models, so cloning a model would cause it to receive properties from another model. This release assures that each Model class has its own copiesById property. In the TypeScript definition, the copiesById attribute on the BaseModel is now an abstract property, so it has to be defined on TypeScript classes.