Add factory creation ports and owner initialization contracts
This commit is contained in:
@@ -115,6 +115,8 @@ export const genericImplementationType = (
|
||||
}
|
||||
case "query":
|
||||
return queryPort(requirement);
|
||||
case "creation":
|
||||
throw new Error("Creation ports require the portable transaction context generator (LF-09)");
|
||||
case "constructor":
|
||||
return object([
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user