vscode-pets icon indicating copy to clipboard operation
vscode-pets copied to clipboard

Different pets with the same name all deleted

Open PatrykBochenek opened this issue 2 years ago • 1 comments

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.

image

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.

PatrykBochenek avatar Feb 09 '23 17:02 PatrykBochenek

Yeah, using name as ID isn't really ideal. Should probably use uuid instead to uniquely identify pets.

AndreasWintherMoen avatar Feb 10 '23 12:02 AndreasWintherMoen