|
|
|
|
|
by joshgermon
1093 days ago
|
|
Yeah which honestly I don't mind the middleware approach for authentication although the route matching is pretty bad for fine grain control. However another thing is the middleware is all through the edge runtime. So things like regular postgres drivers don't work (although I did hear that Cloudflare workers added TCP so maybe that's coming). I will say Planetscale and the hottest db as a service platforms all seem to have an edge adapter to allow for this but your SOL otherwise. |
|