iotaledger / iotaledger/identity
Use macros to reduce boilerplate code in WASM bindings
Open
Chore
Wasm
- Dominant language
- Rust
- Stars
- 346
- Forks
- 100
- Avg merge
- 13h 41m
- Merged PRs (30d)
- 2
Description
## Description
Define macros to simplify the creation of concrete `impl TransactionInternal`, `TransactionInternalOutput`, and `Proposal`, reducing code duplication.
## Motivation
LOOOTS of repeated code to workaround wasm_bindgen limitation with generics.
Contributor guide
Research direction
Start by locating the WASM binding implementations for TransactionInternal, TransactionInternalOutput, and Proposal. Read the repeated concrete impls and the surrounding wasm_bindgen constraints. Done means the repeated construction logic is expressed through macros while the existing bindings retain their behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, wasm
- Domain
- api
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100