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
Copy file name to clipboardExpand all lines: packages/foundation/core/src/app.ts
+20-14Lines changed: 20 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ export class ObjectQL implements IObjectQL {
51
51
privatepluginsList: PluginDefinition[]=[];
52
52
53
53
// ObjectStack Kernel Integration
54
-
privatekernel: ObjectStackKernel;
54
+
privatekernel: ObjectStackKernel|null=null;
55
55
privatekernelPlugins: any[]=[];
56
56
57
57
// Store config for lazy loading in init()
@@ -67,10 +67,6 @@ export class ObjectQL implements IObjectQL {
67
67
thrownewError("Connection strings are not supported in core directly. Use @objectql/platform-node's createDriverFromConnection or pass a driver instance to 'datasources'.");
68
68
}
69
69
70
-
// Initialize ObjectStackKernel with plugins
71
-
// The kernel will be used for lifecycle management and plugin orchestration
72
-
this.kernelPlugins=[];
73
-
74
70
// Add the ObjectQL plugin to provide enhanced features
75
71
this.kernelPlugins.push(newObjectQLPlugin());
76
72
@@ -84,14 +80,11 @@ export class ObjectQL implements IObjectQL {
84
80
}
85
81
}
86
82
}
87
-
88
-
// Create the kernel instance
89
-
// Note: The kernel expects plugins in its constructor
0 commit comments