Skip to content

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

@maritz

Description

@maritz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions