refactor(core): refine layer node replacements (#34377)

This commit is contained in:
James Long
2026-06-28 23:48:18 -04:00
committed by GitHub
parent 01a5c69244
commit 84336e4f91
38 changed files with 347 additions and 342 deletions

View File

@@ -50,7 +50,8 @@ export function createEmbeddedRoutes() {
function makeRoutes<AuthError, AuthServices>(auth: Layer.Layer<ServerAuth.Config, AuthError, AuthServices>) {
const serviceLayer = AppNodeBuilder.build(
LayerNode.bind(applicationServices, SessionExecution.node, SessionExecutionLocal.node),
applicationServices,
[[SessionExecution.node, SessionExecutionLocal.node]],
)
return HttpApiBuilder.layer(Api, { openapiPath: "/openapi.json" }).pipe(