We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fceb462 commit 38faf2aCopy full SHA for 38faf2a
1 file changed
packages/runtime/src/app-plugin.ts
@@ -38,7 +38,14 @@ export class AppPlugin implements Plugin {
38
// Register the app manifest as a service
39
// ObjectQLPlugin will discover this and call ql.registerApp()
40
const serviceName = `app.${appId}`;
41
- ctx.registerService(serviceName, this.bundle.manifest || this.bundle);
+
42
+ // Merge manifest with the bundle to ensure objects/apps are accessible at root
43
+ // This supports both Legacy Manifests and new Stack Definitions
44
+ const servicePayload = this.bundle.manifest
45
+ ? { ...this.bundle.manifest, ...this.bundle }
46
+ : this.bundle;
47
48
+ ctx.registerService(serviceName, servicePayload);
49
}
50
51
async start(ctx: PluginContext) {
0 commit comments