Integrate `ApiVersionProvider` into `IResourceTypeProvider`
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 21m
- Merged PRs (30d)
- 79
Description
`ApiVersionProvider` is used by `UseRecentApiVersionRule`. However, its initialization within the `SemanticModel` constructor introduces an undesirable coupling between the linter and the Bicep core compiler implementation. To mitigate this, we can do some refactoring to incorporate the functionalities of `ApiVersionProvider` into the `IResourceTypeProvider`.
Contributor guide
Research direction
Start by tracing ApiVersionProvider from the SemanticModel constructor to UseRecentApiVersionRule, then compare the relevant responsibilities of IResourceTypeProvider. Done means the ApiVersionProvider functionality is incorporated into IResourceTypeProvider without the undesirable coupling between the linter and Bicep core compiler implementation.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers, tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100