Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prints warning when loading persisted Collection #155

Closed
bennobuilder opened this issue Jun 14, 2021 · 0 comments
Closed

Prints warning when loading persisted Collection #155

bennobuilder opened this issue Jun 14, 2021 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@bennobuilder
Copy link
Contributor

🐛 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

@bennobuilder bennobuilder added the bug Something isn't working label Jun 14, 2021
@bennobuilder bennobuilder added this to the 0.2.0 milestone Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant