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
One additional behavior change this will introduce is that a default of `""` will be used for any parameter using a user-defined type if I'm reading this correctly. For example, I believe the following template:
Originally posted by @jeskew in #16237 (comment)
used bicep file : param foo {
requiredProperty: string
optionalProperty: string?
}
Result of generating the BicepParmas:
using './test3.bicep'
param foo =
2 when the type is int
content of the used file :
type foo = int
param bar foo
Result
using './test3.bicep'
param bar = ''
should be
using './test3.bicep'
param bar = 0
The text was updated successfully, but these errors were encountered:
will generate a .bicepparam file of
Originally posted by @jeskew in #16237 (comment)
used bicep file : param foo {
requiredProperty: string
optionalProperty: string?
}
Result of generating the BicepParmas:
using './test3.bicep'
param foo =
2 when the type is int
content of the used file :
type foo = int
param bar foo
Result
using './test3.bicep'
param bar = ''
should be
using './test3.bicep'
param bar = 0
The text was updated successfully, but these errors were encountered: