Skip to content

Conversation

Legioth
Copy link
Member

@Legioth Legioth commented Feb 14, 2025

  • Rename TreeManipulator to ResultBuilder and use it only for multi-step commands and commands that affect multiple nodes
  • Explicitly return a result when handling a command instead of indirectly producing one
  • Transactions produce multiple results so they have custom top-level handling instead of following the general pattern
  • Handle errors caused by concurrent modifications by returning a Reject result instead of passing the error through an instance field

* Rename TreeManipulator to ResultBuilder and use it only for multi-step
commands and commands that affect multiple nodes
* Explicitly return a result when handling a command instead of
indirectly producing one
* Transactions produce multiple results so they have custom top-level
handling instead of following the general pattern
* Handle errors caused by concurrent modifications by returning a Reject
result instead of passing the error through an instance field
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 🔎Iteration reviews

Development

Successfully merging this pull request may close these issues.

3 participants