Elektrine lite

← Feed

@beberlei@phpc.social

2026-01-31 21:40 UTC

Ok, writing about stuff and putting them out there helps with ideas, if I introduce a context that references the response, then i can get rid of the double yield, for more clarity. https://gist.github.com/beberlei/5f36deb1303b7080eff8e2b9765187cc

Replies (1)

  • @beberlei@phpc.social 2026-01-31 21:45

    Weird would be ending a request early in the middlewares, they need to set the $response on context and then call yield anyways.

    Open ##5127221