Build checked asynchronous service registries with Nix

This commit is contained in:
Timothy J. Aveni
2026-09-20 21:06:45 -07:00
parent c4ae58831d
commit 1dadc642d1
5 changed files with 50 additions and 4 deletions
+3 -1
View File
@@ -14,7 +14,9 @@ test("remote adapters expose selected typed calls, lifetimes and explicit transa
generatePortableTypeScriptBindings(schema, "async:controller-runtime@1", { target: "browser" }),
/readonly "refresh"/,
);
const entry = schema.packages.find((p) => p.revisionId === "async:controller-runtime@1")!.exports[0]!;
const entry = schema.packages
.find((p) => p.revisionId === "async:controller-runtime@1")!
.exports.find((entry) => entry.id === "async:controller:refresh")!;
entry.dependencyPorts[0]!.requirement = {
kind: "state",
valueType: { kind: "scalar", name: "string" },