nohm icon indicating copy to clipboard operation
nohm copied to clipboard

Adding props with defaultValue means the new prop doesn't get added

Open maritz opened this issue 2 years ago • 0 comments

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

maritz avatar Mar 27 '22 04:03 maritz