Make local graph execution optional across composed packages
This commit is contained in:
@@ -9,17 +9,18 @@ export function portableGenericPlan() {
|
||||
`
|
||||
interface Echo<value T> id "echo-interface" revision "echo-interface@2" {
|
||||
operation echo id "echo-member" : T -> T {
|
||||
call id "echo-call" execution snapshot targets [browser, server];
|
||||
call id "echo-call" execution snapshot;
|
||||
}
|
||||
}`,
|
||||
{ source },
|
||||
);
|
||||
assert.ok(iface.ok && iface.resource.kind === "interface", JSON.stringify(iface.diagnostics));
|
||||
const pkg = compileCapabilityResourceSource(
|
||||
`
|
||||
`symbol JavaScript id "target:org.quixos.execution.javascript@1";
|
||||
|
||||
package Generic id "generic" revision "generic@3" {
|
||||
operation echo<value T> id "echo" : T -> T mode call
|
||||
execution snapshot targets [browser, server] receiver any;
|
||||
execution snapshot targets [JavaScript, server] receiver any;
|
||||
}`,
|
||||
{ source: { ...source, commit: "b".repeat(40) } },
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user