@@ -319,9 +319,9 @@ await kernel.bootstrap();
319319### Integration Tests
320320
321321``` typescript
322- import { describe , it } from ' @objectstack/runtime ' ;
323- import { ObjectQLPlugin } from ' @objectstack/objectq l
324- import { ObjectKernel , ObjectQLPlugin } from ' @objectstack/runtime ' ;
322+ import { describe , it , expect } from ' vitest ' ;
323+ import { ObjectKernel } from ' @objectstack/runtime ' ;
324+ import { ObjectQLPlugin } from ' @objectstack/objectql ' ;
325325
326326describe (' MyPlugin' , () => {
327327 it (' should register service' , async () => {
@@ -347,7 +347,7 @@ Load plugins from a configuration file:
347347// objectstack.config.ts
348348export default {
349349 plugins: [
350- { name: ' @objectstack/runtime #ObjectQLPlugin' },
350+ { name: ' @objectstack/objectql #ObjectQLPlugin' },
351351 { name: ' @objectstack/driver-memory#MemoryDriverPlugin' },
352352 { name: ' @objectstack/plugin-hono-server#HonoServerPlugin' , config: { port: 3000 } },
353353 ],
@@ -435,10 +435,10 @@ await ql.loadObjects([Account, Contact]);
435435```
436436
437437### After (MicroKernel)
438- DriverPlugin } from '@objectstack/runtime ';
439- import { ObjectQLPlugin } from ' @objectstack/objectql
438+
440439``` typescript
441- import { ObjectKernel , ObjectQLPlugin , DriverPlugin } from ' @objectstack/runtime' ;
440+ import { ObjectKernel , DriverPlugin } from ' @objectstack/runtime' ;
441+ import { ObjectQLPlugin } from ' @objectstack/objectql' ;
442442
443443const kernel = new ObjectKernel ();
444444kernel .use (new ObjectQLPlugin ());
0 commit comments