<FromGitter>
<rishavs> How can we pass data from one HTTP handler to another? I can't mutate the context nor pass data anyhow. Currently I am using a global object which is recreated on each request but that feels icky
<FromGitter>
<Blacksmoke16> pretty sure your only option is to like monkeypatch something into `HTTP::Server::Context`
<FromGitter>
<rishavs> that sounds scary :/
<FromGitter>
<Blacksmoke16> what kinda of data is it?
<FromGitter>
<moe:busyloop.net> yup patch or wrap context. ⏎ alternatively you could store it in Fiber, but that's not nice.
<FromGitter>
<jrei:matrix.org> Or use a framework
<FromGitter>
<jrei:matrix.org> `HTTP::Server` is quite limited - you'll end up re-inventing what small frameworks do
waleee has joined #crystal-lang
<FromGitter>
<Blacksmoke16> i been trying for a while :P
<FromGitter>
<moe:busyloop.net> yea, you gotta know when to stop. otherwise you end up like blacksmoke and invent an entire ecosystem 😬
<FromGitter>
<Blacksmoke16> #worthIt
<FromGitter>
<Blacksmoke16> oops, random markdown formatting...
<FromGitter>
<tenebrousedge> where in the book is the stabby `->` method forwarding thing covered? I cannot finds it D: