cloudflare / cloudflare/recapn

Add a `set_slice` method for setting the value of a field with `List` type

Open
#31 0 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.