Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update AzResourceTypeFactory cache key to take account of required fl…
…ags (#13535) Resolves #13534 The cache within `AzResourceTypeFactory` was using the serialized type as a key, but since the AZ resource types reuse types pretty aggressively, this was leading to values being cached with the wrong flag assignments (which are dependent on *where* in a resource a particular type is used). This PR updates the cache to use a compound key instead to keep these usages separate. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/13535)
- Loading branch information
Showing
2 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters