Add factory creation ports and owner initialization contracts
This commit is contained in:
@@ -36,7 +36,7 @@ function fixture(transform = (s: string) => s, generic = false) {
|
||||
${forward("Relay", "Alias")}
|
||||
${forward("Alias", generic ? "Owner<string>" : "Owner")}
|
||||
conform Item as Owner${generic ? "<string>" : ""} id "owner-conformance" {
|
||||
private state Title id "title" on Item : string policy optimistic-register default "";
|
||||
private state Title id "title" on Item : string policy register default "";
|
||||
bind title to state Title;
|
||||
}
|
||||
}`;
|
||||
|
||||
Reference in New Issue
Block a user