© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Effect, express and @effect/sql - Effect Community
EC
Effect Community
•
14mo ago
marcinb7
Effect, express and @effect/sql
I
'm trying to setup a minimum effect
, express and
@effect
/sql application
(HTTP server
)
.
Here
's the gist
:
https://gist.github.com/belfz/fe58eb453304347dd9df73542f833a67
However
, my only route handler
"hangs
" upon an attempt to run the SQL query
(see lines 24
-25
)
. It just never returns
.
I suspect it might have something to do with the use of
FiberSet
FiberSet
and
run
run
.
I
'm absolutely certain that the database connection is established correctly
- when I run the query within
routes
routes
(e
. g
. placing it right after the line 34
) it all runs correctly
. But when inside
sqlRouteHandler
sqlRouteHandler
- it just never works
.
What am I doing wrong
?
Gist
effect-express.ts
GitHub Gist
: instantly share code
, notes
, and snippets
.
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Sequential execution with @effect/sql and @effect/sql-libsql
EC
Effect Community / help-forum
2y ago
Express app wrapped with Effect
EC
Effect Community / help-forum
3y ago
@effect/sql Inconsistent Casing
EC
Effect Community / help-forum
2y ago
Create SQL statement without SqlClient
EC
Effect Community / help-forum
8mo ago