kellpossible / kellpossible/doublecount

reconsider the Action dynamic dispatch

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
19
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Consider using https://crates.io/crates/enum_dispatch instead of dynamic dispatch, or if I decide to value the ability to have users of this crate be able to implement their own `Action`s for the system, then figure out a way to remove the `ActionType` enum and replace it with something else, perhaps an integer order priority method for the `Action` trait.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names the Action trait and ActionType enum but no files or tests. Start by locating their definitions and the current dynamic-dispatch entry points, then compare the available designs, including enum_dispatch and support for user-defined Actions. Done requires a decided dispatch design with its compatibility implications established.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Refactor
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.