ElementHolder
Open
- Dominant language
- Go
- Stars
- 467
- Forks
- 23
- Avg merge
- 6m
- Merged PRs (30d)
- 8
Description
This parameter type ElementHolder allows almost anything to be passed in (for example the code in views.go doesn't check for the existence of elements within the structs that are inspected in subsidiary functions.
This lead to unexpected crashes as tests (e.g. views_test.go) were developed. More seriously it could lead to unexpected crashes/bugs if more code uses these functions. More defensive coding might be worth adopting.
Contributor guide
Assessment
This issue has not been assessed yet.