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

Show the correct set of resource types in completions / validation when a scope has been selected #774

Closed
anthony-c-martin opened this issue Nov 2, 2020 · 1 comment · Fixed by #1321
Assignees
Labels
enhancement New feature or request
Projects
Milestone

Comments

@anthony-c-martin
Copy link
Member

If .e.g a tenant scope has been selected, we should not show any resource types that are invalid at this scope:

target = 'tenant'

// should show a warning because the type can't be deployed at tenant scope
resource myVm 'Microsoft.Compute/virtualMachines@2020-06-01' = {
    ...
}
@anthony-c-martin anthony-c-martin added the enhancement New feature or request label Nov 2, 2020
@ghost ghost added the Needs: Triage 🔍 label Nov 2, 2020
@majastrz
Copy link
Collaborator

majastrz commented Nov 2, 2020

YES. This will be amazing when we have it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
No open projects
0.3 release
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants