Skip to content

Commit 03c93f7

Browse files
committed
docs(drivers): DriverPlugin is the escape hatch, not "the same path the CLI uses"
Stale since #3886: the CLI's primary boots as a declared default definition, not a pre-built DriverPlugin. Flagged by the docs drift check on this PR. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GK5nd3gtehcAhrF6Zzp2on
1 parent 4eb381a commit 03c93f7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎content/docs/data-modeling/drivers.mdx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ Drivers can be selected in two ways:
2121
override the inference (e.g. force `sqlite` for an ambiguous path).
2222

2323
2. **Programmatic** — register a driver instance as a kernel plugin via
24-
`DriverPlugin` (the same path the CLI uses internally):
24+
`DriverPlugin`. This is the escape hatch for pre-built or auxiliary
25+
drivers — the CLI itself no longer boots the primary this way: it declares
26+
the `default` datasource as a definition and connects it through the shared
27+
datasource path ([#3826](https://github.com/objectstack-ai/objectstack/issues/3826),
28+
described further down this page):
2529
```typescript
2630
import { DriverPlugin } from '@objectstack/runtime';
2731
import { SqlDriver } from '@objectstack/driver-sql';

0 commit comments

Comments
 (0)