refactor(question): effectify QuestionService (#17432)

This commit is contained in:
Kit Langton 2026-03-14 11:58:00 -04:00 committed by GitHub
commit cec1255b36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 347 additions and 231 deletions

View file

@ -1,5 +1,8 @@
import { Layer, ManagedRuntime } from "effect"
import { AccountService } from "@/account/service"
import { AuthService } from "@/auth/service"
import { QuestionService } from "@/question/service"
export const runtime = ManagedRuntime.make(Layer.mergeAll(AccountService.defaultLayer, AuthService.defaultLayer))
export const runtime = ManagedRuntime.make(
Layer.mergeAll(AccountService.defaultLayer, AuthService.defaultLayer, QuestionService.layer),
)