vscode-pets
vscode-pets copied to clipboard
Different pets with the same name all deleted
In a scenario where there are two or more pets with the same name, upon deleting one of them, all of the pets with the same name are deleted.

For example, as pictured above if I delete a pet called 'test' then it will cause all the other pets called 'test' to be deleted too.
Yeah, using name as ID isn't really ideal. Should probably use uuid instead to uniquely identify pets.