Open lgwillmore opened 3 years ago
Ya, a bit visitor patterny. Nice clean decoupled approach. But in my head I was imagining the output to be a nicely nested tree structure of the policy evaluations - event listener might not be able to produce something like that... will have to think about it. start and end events help, or have to pass some sort of depth parameter around.
Going to start work on this one soon though - very important for ease of use I think
I saw a relevant blog post today: https://publicobject.com/2022/05/01/eventlisteners-are-good/
Here are the key snippets