WebAssembly / WebAssembly/WASI
Proposal: add a `fields.keys` method.
Open
Nobody has claimed this yet.
P-http
S-inactive
- Dominant language
- Rust
- Stars
- 5.8k
- Forks
- 333
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 3
Description
Proposal issue for adding a fields.keys method with signature:
keys: func() -> list<field-key>
This is useful for cases where the caller might want to filter which keys to get values for, as opposed to fields.entries which returns value data for every key.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the fields interface and its existing fields.entries operation, then compare their WIT signatures with the proposed keys operation. Done means the fields API exposes keys as a list and supports callers that need to select keys before retrieving values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wasm
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100