cloudflare / cloudflare/recapn
Add a `set_slice` method for setting the value of a field with `List` type
Open
- Dominant language
- Rust
- Stars
- 74
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Currently (unless I'm missing something), in order to set the values of a list field, you need to initialize the list, and then write the items individually. It would be helpful to have a method that accepted a slice of the given type (maybe just primitives only) that initialized and populated the list in one step.
Contributor guide
Assessment
This issue has not been assessed yet.