Add property access to imports
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 21m
- Merged PRs (30d)
- 79
Description
When using an import statement, I would like to be able to have property access on it.
Ex:
```bicep
import kubernetes from kubernetes {
namespace: 'default'
}
resource redisSecret 'kubernetes.core/Secret@v1' existing = {
metadata: {
name: 'redis'
namespace: kubernetes.namespace
}
properties: {
someSecret: '${kubernetes.namespace}/...'
}
}
```
Contributor guide
Research direction
Start by reading the requested import syntax and the Kubernetes example to identify how the imported value should support namespace property access. Done means the example can use kubernetes.namespace in both the resource property and interpolation, with the behavior defined for import statements.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100