Open amycatgirl opened 1 month ago
A DSL could be a solution here. Although, that would introduce a lot of this
keywords across commands, which harms readability.
More research is needed for DSLs.
As for builder patterns, given how I want type-safe arguments and permissions to work, they might be the best fit.
Typing objects is hellish, even more so if you want other parts of the object to "react" to argument types.
The command handler should be able to do the following things: