microsoft / vscode-azureresourcegroups

VS Code extension for managing Azure resources.
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureresourcegroups
MIT License
53 stars 28 forks source link

Fix compatibility issue in `BranchDataItemCache` #678

Closed alexweininger closed 1 year ago

alexweininger commented 1 year ago

Fixes https://github.com/microsoft/vscode-azurefunctions/issues/3670

For compatibility, if a branch item is an AzExtTreeItem, make sure to use the fullId instead of the id as a cache key. Often AzExtTreeItems have a single simple word as the id, and store the real id in fullId. This causes issues if we cache based on id alone since items will share an id.