Extract param/type: dependsOn should be object?, not object
Open
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 21m
- Merged PRs (30d)
- 79
Description
```bicep
module stgModule './storageAccount.bicep' = {
name: 'storageDeploy'
params: {
storagePrefix: namePrefix
location: location
}
}
```
Extract entire resource as param. Get error in default value because dependsOn should be object? but is declared as object:

Contributor guide
Research direction
Start with the module extraction example in the issue and reproduce the reported default-value error for dependsOn. Trace the extraction and parameter type handling involved; done means extracting the resource no longer reports a mismatch between object? and object.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100