Azure / Azure/bicep

Error messages should guide users toward the "parent" or nested resource syntax

Open
#2,446 2 comments 0 reactions 0 assignees View on GitHub
enhancement error-message story: linter rules
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

**Is your feature request related to a problem? Please describe.**
When declaring a nested resource type, we show an error message about wrong number of slashes in the resource name:
![image](https://user-images.githubusercontent.com/22460039/116343351-1dfeba00-a799-11eb-8934-41b2dec5d289.png)

**Describe the solution you'd like**
The message is technically correct, but a better suggestion would be to point to the `parent` syntax or to the nested resource syntax.

Contributor guide

Open the contributing guide

Research direction

Start by locating the diagnostic that reports the wrong number of slashes in a nested resource name. Review the issue's screenshot and compare the current wording with the requested guidance toward `parent` syntax or nested resource syntax; done means the error message clearly points users to one of those forms and its diagnostic coverage passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.