Azure / Azure/bicep

Explore converting bicep error codes to natural language style instead of numeric codes

Open
#2,720 5 comments 0 reactions 0 assignees View on GitHub
enhancement investigate
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

For:

```
The parameter type is not valid. Please specify one of the following types: "array", "bool", "int", "object", "string".
```

Instead of code `BCP031` we could have something like `parameter-type-not-valid`

This will align with the error codes we have planned for the linter, but we need to make sure we can produce something relevant for some of the more abstract errors.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing Bicep's current numeric error-code definitions and the planned linter error-code conventions. Determine whether each existing error can receive a useful natural-language identifier, including abstract errors, and document the resulting naming approach and migration scope.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.