Anyone have any idea why I'm not able to stop my server like this using integrant? How would I properly get a hold of my server instance? https://gist.github.com/v3gal0g/68268567dff31fa336bae8fc5ff877d4
Shouldn't it be this?
(defmethod ig/halt-key! :oasisxd/server [_ opts]
(-> opts
:server
http/stop))Since your ig/init-key is returning a map instead of just the server?
Well, yeah... that does it. Now I see... I'm still trying to get my mind around integrant. Thank you!
Great!
Ok now I REALLY have a good idea of how integrant works... nice.