Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Prints warning when loading persisted Collection #155

@bennobuilder

Description

@bennobuilder

🐛 Bug report

🤖 Current Behavior

If you store a Collection in an external Storage with some Items that were not initially added,
the Collection tries to rebuild the Group on each loaded Item when loading the Collection.
And since not every Item was loaded yet, a warning is printed that the Item doesn't exist in the Collection.

🎯 Expected behavior

Shouldn't print warning and rebuild the whole Group when one Item was loaded

Related to issue:
#113

📄 Reproducible example

https://codesandbox.io/s/agilets-first-collection-uyi9g

When adding multiple Items to the TODO-List
and then refreshing the application.
You see the warning be printed, when the persisted value is loaded into the Collection.

💡 Suggested solution(s)

Fix Group rebuilds #113

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions