nohm
nohm copied to clipboard
Adding props with defaultValue means the new prop doesn't get added
When adding a new prop with a defaultValue to an existing model, the checks for whether the property is dirty/updated don't trigger and thus cause the update method to not add this property.
Ideas to fix it:
- when updating/indexing check if the hash in redis has that property. This is already what the indexing method does, so should be straigtforward