improve ergonomics of watcher utils #296
Labels
ergonomics
ergonomics of the public interface
question
Direction unclear; possibly a bug, possibly could be improved.
runtime
controller runtime related
So that rather than doing stuff like:
we could do things more like:
The key helpers involved here are:
utils::try_flatten_applied
utils::try_flatten_touched
There are two things we could do:
So, not sure we should do this, but it's a lot of mandatory things to import when using watchers or reflectors, trying to find a slightly nicer setup.EDIT: Restructured this issue a bit to reflect the uncertainty in direction.
The text was updated successfully, but these errors were encountered: