derive macro for `Storable` and `BoundedStorable`
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start by locating the Storable and BoundedStorable trait definitions and checking how the existing CandidType and Deserialize derives are supported. Done means the UserProfile example can derive both traits and use the resulting implementations for stable-structure storage, with coverage for the generated behavior.
Written by the indexing model from the issue text.
Description
It would be very useful to support the following:
#[derive(CandidType, Deserialize, Storable, BoundedStorable)]
struct UserProfile {
token0_balance: u64,
token1_balance: u64,
}
- Dominant language
- Rust
- Stars
- 111
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from dfinity/stable-structures
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
dfinity/stable-structures#439 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
dfinity/stable-structures#400 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
dfinity/stable-structures#382 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
dfinity/stable-structures#349 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
dfinity/stable-structures#266 · 3 comments ·
All issues in dfinity/stable-structures
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 74/100
-
review-drift
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oxidecomputer/hansei#14 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
rubys/roundhouse#444 ·
Maintainers usually reply within 1 day
-
Published hardy-bpa-server image is built without the file-cla featurePossibly taken @EmbryoSpace claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ricktaylor/hardy#755 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
semaphoreci/docker-images#46 · 1 comment ·