I love the idea of Jets but I was wondering why this is its own framework and does not integrate with Rails as a Rails gem?
Would it not be nice if Jets “just replaced” the Rails router and it would be possible to deploy a standard Rails app as a lambda powered app? (I know there is afterburner mode but this has its own limitations. So I wondered if hijacking the Rails router and splitting up the routes into separate lambda functions would not be possible).
Using Jets as a Rails plugin would also open the whole ecosystem of already existing Rails gems like Devise and others that are currently not working in Jets.
We could also think about this further and try to “hijack” ActionCable and make it work through Websocker API mode in API Gateway…
Would just be interested in if this idea came up already and if so, why this route was taken instead and if Jets could also become a Rails gem in the future.