2 ms·
I use Integrant to make systems out of components that are tied together at runtime. I have the option of running real versions or mock versions in tests or the
by thom 2y ago
I use Integrant to make systems out of components that are tied together at runtime. I have the option of running real versions or mock versions in tests or the REPL, with config drawn from the environment or config files or parameters. I can boot or reboot any combination of components at will. It’s fairly easy to divide and conquer this way.
- wry_discontent 2y agoI like integrant, but I feel like a lot of the examples I see use it for each web endpoint, which seems like a massive amount of overkill to me. I tend to use it just for the router, but it sometimes feels like I'm not using the library to its full potential with that.
- thom 2y agoDo you have an example? On the face of it I agree that seems like a baffling thing to do.