Azure / Azure/bicep

Auto completion for Bicep registry (when an alias is configured) is missing required-properties

Open
#10,339 3 comments 0 reactions 0 assignees View on GitHub
devdiv story: registry
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

**Bicep version**
Bicep CLI version 0.13.1 (e3ac80d678)

**Describe the bug**
Auto completion is missing **required-properties**. This happens when an alias is configured for the Bicep registry.
![image](https://user-images.githubusercontent.com/8701892/230509628-69bbf1d4-fb9e-49d6-bfbb-30c583644e2d.png)

Expected:
![image](https://user-images.githubusercontent.com/8701892/230509918-8df0608c-c86d-46af-80c7-5c2e0b906ff1.png)

**To Reproduce**
Steps to reproduce the behavior:

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the autocomplete behavior with a configured Bicep registry alias using Bicep CLI 0.13.1, comparing it with the expected completion shown in the issue. The fix is done when required properties appear in autocomplete for aliased registry references and the behavior is covered by an appropriate regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.