DioxusLabs / DioxusLabs/taffy

`TaffyTree` methods should have better error handling

Open
#768 3 comments 0 reactions 0 assignees View on GitHub
code quality
Dominant language
Rust
Stars
3.6k
Forks
222
Avg merge
10h 41m
Merged PRs (30d)
40

Description

> Yeah, IMO this should either be changed to return Err/None if the node doesn't exist. Or just return the value directly.

_Originally posted by @nicoburns in https://github.com/DioxusLabs/taffy/issues/765#issuecomment-2560227819_

Contributor guide

Open the contributing guide

Research direction

Start by locating the TaffyTree methods discussed in this issue and read the referenced discussion in issue 765. The desired behavior is not decided: determine whether missing nodes should return Err/None or return the value directly, then establish tests and an accepted API outcome before making changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.