Skip to content

Commit a4d6733

Browse files
committed
wip
1 parent 0f7e8b0 commit a4d6733

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.changeset/25917-react-adapter-datasource.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ refactor(react): `AdapterCtx` / `useAdapter` are typed by `DataSource`, and `@ob
1111
Clause-②: yes (narrowing)
1212
Metadata-protocol: none
1313

14-
<!-- adr-0087: not-required (runtime-interface-only ui/packages/react/src/context/AppShellContext.tsx#ContextAdapter) No metadata moves: the narrowed type is the one `AdapterCtx` and `useAdapter()` carry, a runtime TypeScript type of a React context, with no Zod schema, spec declaration or stored row behind them, so there is nothing for objectstack migrate meta to rewrite; the compiler names the affected call site. -->
14+
<!-- adr-0087: not-required (runtime-interface-only ui/packages/react/src/context/AppShellContext.tsx#ContextAdapter) No metadata moves: the narrowed type is the one `AdapterCtx` and `useAdapter()` carry, a runtime TypeScript type of a React context, with no Zod schema, spec declaration or stored row behind it, so there is nothing for objectstack migrate meta to rewrite; the compiler names the affected call site. -->
1515

1616
The runtime no longer depends on one adapter, so a bring-your-own backend installs `@object-ui/react` without the ObjectStack adapter, and learns at the type level which `DataSource` members it lacks.
1717

0 commit comments

Comments
 (0)