-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support functions to facilitate use of hasql #130
base: main
Are you sure you want to change the base?
Conversation
I wonder if the dependency on hasql-pool is the right thing. On the one hand we've had good success using it. On the other hand resource-pool is in much better shape now. I'm trying to figure out if there's benefit to the Hasql.Pool dependency or whether using the (newly revamped) Data.Pool would be better—or whether this library should just use hasql Connection and not be involved with connection pooling at all. |
Handling errors properly when making database calls and ensuring telemetry is sent is surprisingly tricky. This introduces helper functions which facilitate doing these things systematically.