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

Single line array with item breaks validation #4955

Closed
anthony-c-martin opened this issue Oct 22, 2021 · 0 comments · Fixed by #4956
Closed

Single line array with item breaks validation #4955

anthony-c-martin opened this issue Oct 22, 2021 · 0 comments · Fixed by #4956

Comments

@anthony-c-martin
Copy link
Member

targetScope = 'subscription'

resource myRg 'Microsoft.Resources/resourceGroups@2021-04-01' = {
  name: 'asdf'
  location: 'asdf'
  tags: {
    'abc': ['hi']
  }
}

var otherExp = noValidation

Validation shows a confusing error at the end of the document, with no error on the array, and post-parse validation broken:
image

@ghost ghost added the Needs: Triage 🔍 label Oct 22, 2021
@ghost ghost locked as resolved and limited conversation to collaborators May 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant