Updating doesn't work well with typed properties
matthewp opened this issue · comments
Matthew Phillips commented
Having something like:
var Pet = DefineMap.extend("Pet", {
name: "string"
});
var Person = DefineMap.extend("Person", {
pet: {
Type: Pet
}
});
Does not work when updating. This is because Person
will be a typed object with pet
of type Pet
and then gets JSON.stringified
.