Use an enum instead of strings to identify ARM type kind
Open
tech debt
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 21m
- Merged PRs (30d)
- 79
Description
Worth creating a reusable method for this? Can we reference `LanguageConstants.TypeNameString` here?
_Originally posted by @anthony-c-martin in https://github.com/Azure/bicep/pull/8673#discussion_r1007477047_
Contributor guide
Research direction
Locate the code that identifies ARM type kinds and the definition of LanguageConstants.TypeNameString. Compare the current string-based uses with the issue's proposed enum and reusable method, then confirm completion by ensuring ARM type kinds are consistently identified without the existing string duplication.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100