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

Update add-data-persistence.md #554

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Simusharp
Copy link
Contributor

In a load method, if the directory does exist, we should return an empty collection not creating the directory and iterate over the files.

@djeikyb
Copy link

djeikyb commented Oct 23, 2024

The diff adds a bug. I don't know if it crashes the app, or if the breakage is limited to the load method. I haven't run the app, I just looked three lines down in the diff.

@Simusharp
Copy link
Contributor Author

The diff adds a bug. I don't know if it crashes the app, or if the breakage is limited to the load method. I haven't run the app, I just looked three lines down in the diff.

Can you elaborate about the bug?

@djeikyb
Copy link

djeikyb commented Nov 8, 2024

On review, I'm wrong about this introducing a bug. I do wonder about keeping the code in these docs and the tutorial repo in sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants