Prove cross-package application composition through public capabilities (WI-15)

This commit is contained in:
Timothy J. Aveni
2026-09-21 19:07:32 -07:00
parent d824634859
commit e5544dde21
6 changed files with 70 additions and 11 deletions
+2 -2
View File
@@ -192,8 +192,8 @@ function methods(
`Selected operation is not an object call available in portable target ${target}; select a portable subset or move this handler to remote execution`,
);
if (execution.kind === "transaction" && !remote) writable();
if (req.receiver === "input" && (remote || execution.kind !== "snapshot"))
throw new PortableBindingError(path, "Reference-selected dependencies require portable snapshot calls");
if (req.receiver === "input" && remote)
throw new PortableBindingError(path, "Reference-selected dependencies require portable execution");
return method(
`${member.displayName}.${op.displayName}`,
{ kind: "interface", operationId: op.id },