Handling Circular Dependencies with Effect and Convex Codegen
interesting Effect case - when a service definition imports codegen code (Convex actions to be specific), and the action runs an Effect that depends on the service, you end up with this error:
‘SandboxService’ is referenced directly or indirectly in its own base expression.ts(2506)
The only fix I found was to add another dependency to the service, and provide the code generated method after the fact. Any tips on working with Effect + Convex, or generated code?
‘SandboxService’ is referenced directly or indirectly in its own base expression.ts(2506)
The only fix I found was to add another dependency to the service, and provide the code generated method after the fact. Any tips on working with Effect + Convex, or generated code?
