Azure / Azure/bicep

Change the return type of `Compilation.GetAllDiagnosticsByBicepFile` to `ILookup<BicepFile, IDiagnostic>`

Open
#6,179 0 comments 0 reactions 0 assignees View on GitHub
tech debt
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 2h
Merged PRs (30d)
79

Description

The current return type is `IReadOnlyDictionary>` which can be simplified.

Contributor guide

Open the contributing guide

Research direction

Locate Compilation.GetAllDiagnosticsByBicepFile and inspect its callers to identify any assumptions about the current dictionary type. Change the return type to ILookup, update affected usages, and confirm the project builds and its tests pass.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.