You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(target-extensible-ir-namespaces): elevate explicit-dsl out of project scope
explicit-dsl (TML-2550) is required for the Supabase integration (colliding
auth.*/public.* names the default-namespace fallback cannot disambiguate) but
is purely additive on runtime-qualification. Decouple it: the project now
closes after runtime-qualification, and explicit-dsl is tracked standalone and
parallelizable rather than as a deferrable in-project unit.
Signed-off-by: Will Madden <madden@prisma.io>
**Linear Project:**[Target-Extensible IR + Namespaces](https://linear.app/prisma-company/project/target-extensible-ir-namespaces-fd69eff8aec6)
5
-
**Purpose**_(from spec)_: Make first-class namespaces and target-extensible IR usable for the downstream Supabase integration. The contract IR reaches its canonical symmetric two-plane shape; runtime SQL and the DSL/ORM surfaces qualify identifiers and dispatch through a default-namespace fallback so existing single-namespace consumers experience zero breakage; the explicit namespace-aware surface (`db.sql.auth.user`) lands later as purely additive work.
5
+
**Purpose**_(from spec)_: Make first-class namespaces and target-extensible IR usable for the downstream Supabase integration. The contract IR reaches its canonical symmetric two-plane shape; runtime SQL and the DSL/ORM surfaces qualify identifiers and dispatch through a default-namespace fallback so existing single-namespace consumers experience zero breakage. The explicit namespace-aware surface (`db.sql.auth.user`) is **elevated out of this project**: it is required (not deferrable) for the Supabase integration — which must address colliding `auth.*` / `public.*` names that the default-namespace fallback cannot disambiguate — but it is purely additive on `runtime-qualification`, so it can run in parallel and must not gate this project's close-out.
6
6
7
7
## At a glance
8
8
@@ -11,7 +11,9 @@ Single sequential stack on top of the closed **contract-ir-planes** substrate ([
11
11
Units are **named, not numbered** — the S-numbering drifted during replanning and bought nothing.
**Unit type:** Slice. **Elevated out of this project** — tracked standalone, parallelizable, does **not** gate close-out.
74
76
75
-
**Purpose.**`db.sql.<ns>.<table>`, `db.<ns>.<Model>` — additive on runtime-qualification.
77
+
**Purpose.**`db.sql.<ns>.<table>`, `db.<ns>.<Model>` — additive on runtime-qualification. Required (not deferrable) for the Supabase integration: Supabase exposes colliding names across namespaces (`auth.users` alongside `public.users`), which the flat-by-name default-namespace fallback from `runtime-qualification` cannot disambiguate. Because it is purely additive, it can be built in parallel with — and shipped after — this project closes.
**Linear:**[TML-2550](https://linear.app/prisma-company/issue/TML-2550) (removed from this project; required for the Supabase initiative).
78
80
79
81
### Parallel groups
80
82
@@ -90,7 +92,7 @@ None.
90
92
91
93
| Project-DoD | Delivered by |
92
94
|---|---|
93
-
|**PDoD1.** All must-ship units delivered; explicit-dsl delivered or deferred | domain-plane + public-by-default + runtime-qualification; explicit-dsl optional|
95
+
|**PDoD1.** All must-ship units delivered| domain-plane + public-by-default + runtime-qualification (explicit-dsl elevated out — no longer a member of this project)|
0 commit comments