@teamscala/service-boot 0.23.469 → 0.23.470

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "name": "@teamscala/service-boot",
8
8
  "type": "module",
9
- "version": "0.23.469",
9
+ "version": "0.23.470",
10
10
  "sideEffects": false,
11
11
  "imports": {
12
12
  "#service-boot/*": "./src/*",
@@ -11,7 +11,6 @@
11
11
 
12
12
  import { join } from "node:path";
13
13
  import { getAppLogger } from "@teamscala/logger/app-loggers";
14
- import { registerFnRouters } from "./fn-routers/index.ts";
15
14
  import type { InjectedDb8 } from "@teamscala/db/db8-registry";
16
15
  import type { Hono } from "hono";
17
16
  import { bodyLimit } from "hono/body-limit";
@@ -30,7 +29,11 @@ export async function mountOrpcRouter(
30
29
  serviceSlug: string,
31
30
  ): Promise<OrpcMountResult | null> {
32
31
  const log = getAppLogger();
33
- registerFnRouters();
32
+ // registerFnRouters() is retired: the row-composed bundle (orpc-bundle from
33
+ // api_route rows) is the sole fn source. The handwritten registration is
34
+ // fully shadowed by generated.fn (all families have rows) — keeping it
35
+ // would block generated-only procedures (auth, cacheAdmin, regions,
36
+ // realtime) from serving.
34
37
  const routerPath = join(
35
38
  process.cwd(),
36
39
  "prisma/generated/orpc/routers/index.ts",