Had an issue with Phlex, sent a DM to @joel.drapper.me, he suggested to jump on a call, got a wonderful deep dive into Phlex, we found an actual edge-case bug, perfect day. I love programming.
Comments
Log in with your Bluesky account to leave a comment
We should probably detect `capture` being overridden and raise an error or something. I actually made a joke gem for doing that. https://github.com/joeldrapper/fuck_off
It’s particularly easy to unintentionally run into this issue because the capture helper is a transient dependency of a number of other helper modules. A good rule of thumb is to never include rails helper modules into Phlex directly but to use the adapters instead.
Comments
Hopefully we can get this one fixed pretty quickly. But I don’t think it’s the thing we found on our call. I think it’s something else.