infinyon / infinyon/node-bindgen
How to pass boxed values
Open
- Dominant language
- Rust
- Stars
- 587
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to return sth like `Arc` from a function, but this fails as `TryIntoJs` is not implemented for `Arc`. Is there a workaround for this, or could this be added easily?
Contributor guide
Research direction
Start by locating the TryIntoJs trait and existing implementations for boxed or shared values, then inspect how Arc is handled in the Rust-to-Node.js conversion path. Confirm whether a workaround already exists and define done as supporting Arc without breaking current conversions, with a focused test for the returned value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, rust
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100