Make local graph execution optional across composed packages
This commit is contained in:
@@ -6,8 +6,8 @@ const content = "record { text:string; tags:list<string>; }";
|
||||
const iface = compileCapabilityResourceSource(
|
||||
`interface Comment id "comment" revision "comment@1" {
|
||||
value content id "content" : ${content} {
|
||||
get id "content:get" execution snapshot targets [browser, server];
|
||||
edit id "content:edit" execution transaction targets [browser, server];
|
||||
get id "content:get" execution snapshot;
|
||||
edit id "content:edit" execution transaction;
|
||||
}
|
||||
}`,
|
||||
{ source },
|
||||
@@ -68,7 +68,7 @@ test("authored prepared changes retain their materialized type as transport valu
|
||||
test("generic edit retains its materialized type through specialization", () => {
|
||||
const generic = compileCapabilityResourceSource(
|
||||
`interface Cell<value T : storable> id "cell" revision "cell@1" {
|
||||
value content id "content" : T { get id "get"; edit id "edit" execution transaction targets [browser, server]; }
|
||||
value content id "content" : T { get id "get"; edit id "edit" execution transaction; }
|
||||
}`,
|
||||
{ source },
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user