You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We should offer property access completions for the "additional" properties that have actually been specified in the resource declaration.
Property access on an "additional" property that isn't specified in the resource declaration should produce a warning. (Can't be an error because RPs can violate the RPC and return a modified set of properties.)
resourcebp'Microsoft.Blueprint/blueprintAssignments@2018-11-01-preview' = {
name: 't'location: resourceGroup().locationidentity: {
type: 'None'
}
properties: {
parameters: {
'foo': {
reference: {
keyVault: {
id: 's'
}
secretName: 's'
}
}
}
resourceGroups: {
'bar': {
name: 's'location: 's'
}
}
}
}
// no name completionsvartest = bp.properties.resourceGroups.|
// prop. access completions work at `|` but no warning on "blah"vartest2 = bp.properties.resourceGroups.blah.
majastrz
changed the title
Improve validation and completsions with additionalProperties
Improve validation and completions with additionalPropertiesJun 15, 2021
Is your feature request related to a problem? Please describe.
This originally was discovered during #3084
The text was updated successfully, but these errors were encountered: