Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inspecting (F12) of User-Defined Type from container registry outputs JSON instead of Bicep #15641

Open
johnlokerse opened this issue Nov 20, 2024 · 2 comments
Assignees
Labels
devdiv Related to Bicep tooling efforts in DevDiv
Milestone

Comments

@johnlokerse
Copy link
Contributor

Bicep version
Bicep CLI version 0.31.92 (b065093)

Describe the bug

When inspecting (F12) a User-Defined Type imported from a container registry, the output is a JSON file rather than a Bicep file.

To Reproduce

  1. Create a Bicep template
  2. Add the import syntax:
import { roleAssignmentType, lockType } from 'br/public:avm/utl/types/avm-common-types:0.3.0'
  1. Use F12:
    Image

Additional context

GIF of what happens:

Image

@StephenWeatherford
Copy link
Contributor

import {customerManagedKeyType} from 'br/public:avm/utl/types/avm-common-types:0.3.0'

Repros for me.

@StephenWeatherford
Copy link
Contributor

I verified this functionality slipped through the cracks in the code. Recommend we fix, should be < 1d, but I don't have time this milestone.

@StephenWeatherford StephenWeatherford moved this from Todo to In Progress in Bicep Nov 25, 2024
@StephenWeatherford StephenWeatherford removed their assignment Nov 25, 2024
@StephenWeatherford StephenWeatherford added devdiv Related to Bicep tooling efforts in DevDiv and removed investigate labels Nov 25, 2024
@StephenWeatherford StephenWeatherford modified the milestones: v0.32, v0.33 Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devdiv Related to Bicep tooling efforts in DevDiv
Projects
Status: In Progress
Development

No branches or pull requests

4 participants