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

Deleting the last todo creates a new default todo, causing confusion #7699

Closed
jwbrady opened this issue Jul 19, 2018 — with docs.microsoft.com · 1 comment
Closed
Assignees
Labels
Pri2 Source - Docs.ms Docs Customer feedback via GitHub Issue

Comments

Copy link

jwbrady commented Jul 19, 2018

Because this example adds a default todo whenever there are no todos, you can't delete all the todos and makes you think it isn't working.

Seeding was discussed here. Surprised there isn't a better article on it.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@guardrex
Copy link
Collaborator

This topic sample was apparently created before we instituted a better approach to seeding. Next, we're planning to update seeding to an even better approach based on a new seeding scenario in EF Core.

I'll cross-reference this issue on that one to make sure this sample gets the updates. Thanks for calling this one out. If you hadn't said anything, it might have slipped through the cracks.

@guardrex guardrex self-assigned this Jul 20, 2018
@guardrex guardrex added Pri2 Source - Docs.ms Docs Customer feedback via GitHub Issue labels Jul 20, 2018
@jwbrady jwbrady changed the title Deleting the last todo puts creates a new default todo Deleting the last todo creates a new default todo, causing confusion Jul 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pri2 Source - Docs.ms Docs Customer feedback via GitHub Issue
Projects
None yet
Development

No branches or pull requests

3 participants