Skip to content

Add update #11

@vwkd

Description

@vwkd

Should we add an update(itemId: string, item: Item): void method that updates an item? Should it throw if the item doesn't exist? Should it simply replace the whole item, or deeply merge it with the existing item, or even take a transform function given the existing item and returning the new item?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions