SpryFox / DarkConfig

DarkConfig is a configuration library for games which supports fast and expressive iteration
Other
151 stars 19 forks source link

Improve Ergonomics around manipulating DocNode data in processors #53

Open grahamboree opened 1 year ago

grahamboree commented 1 year ago

The current approach to manipulating data in a ConfigProcessor is a bit clunky. Specifically, you need to first convert the existing DocNode to a ComposedDocNode, which isn't super clear. Then, the methods for manipulating ComposedDocNodes are pretty limited.

This feels like it needs revisiting with an eye on more complex ConfigProcessors.