© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Testing SQL code with dependencies issue - Effect Community
EC
Effect Community
•
2y ago
deeplaysit
Testing SQL code with dependencies issue
I
'm looking to test some code that uses sql
- my service has the dependency for
Sql.client.Client
Sql.client.Client
in its
R
R
though
- which means my dummy Service would still need an implementation of
Client
Client
to run
.
Is there a way I can not have the dependency so explicit
? or do I need to stub the whole service tree
?
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Replacing Default Dependencies with Mocks for Testing in TypeScript
EC
Effect Community / 🚀-beginners
2y ago
Overriding Dependencies in `Effect.Service` for Testing Purposes
EC
Effect Community / 🚀-beginners
7mo ago
Testing Effects and Service Dependencies in Effect Typescript
EC
Effect Community / 🚀-beginners
9mo ago
Overriding Service Dependencies in a Layer for Testing
EC
Effect Community / 🚀-beginners
2y ago