Skip to content

Remove id from fetchHistory #354

Closed
Closed
@quazzie

Description

@quazzie

Is there a better way to remove an id from fetchHistory other than delete this.__fetchHistory['id'] ?

I have a store function getAll() that does a fetch for all items.
I then have a couple of Containers with pending handlers and such.
I then have an refresh action that the store handles where i do delete this.__fetchHistory['all'] so i can reuse all the containers pending handlers.

Would be nice with an 'official' way for this maybe.

Related i would be nice to have an 'official' way to remove something from failedFetches also.
See #284
Now i have a refresh action that my store handles and does delete this.__failedFetches[id] to fetch again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions