hclsimple cannot parse subscribe_event_types
Open
- Dominant language
- Go
- Stars
- 5.8k
- Forks
- 657
- Avg merge
- 20h 36m
- Merged PRs (30d)
- 6
Description
Input policy
```
# comment
# comment
path "some/path/*" {
capabilities = ["read", "list", "subscribe"]
subscribe_event_types = ["*"]
}
```
Result
```
policy.hcl:6,3-24: Unsupported argument; An argument named "subscribe_event_types" is not expected here.
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the policy shown in the issue through hclsimple and trace how the subscribe_event_types argument is parsed. The work is complete when this input is accepted without the reported unsupported-argument error and the relevant parsing behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100