Fix evaluating dependency notation URIs with multiple file output (#1942)

This commit is contained in:
Jen Basch authored and GitHub committed 2026-10-28 16:46:27 -07:00
1 parent 434f699887
commit ea68f7b258
10 files changed
+89 -12

No files matched your search

@@ -0,0 +1,19 @@
{
"schemaVersion": 1,
"packageUri": "package://localhost:0/fruit@1.2.0",
"name": "fruit",
"version": "1.2.0",
"packageZipUrl": "https://localhost:0/fruit@1.2.0/fruit@1.2.0.zip",
"dependencies": {},
"packageZipChecksums": {
"sha256": "$computedChecksum"
},
"sourceCode": "https://example.com/fruit",
"documentation": "https://example.com/fruit-docs",
"license": "UNLICENSED",
"authors": [
"apple-1@example.com",
"banana-2@example.com"
],
"issueTracker": "https://example.com/fruit/issues"
}
@@ -0,0 +1,3 @@
module fruit.Fruit
name: String
@@ -0,0 +1,13 @@
module fruit.Fruits
import "Fruit.pkl"
fruits: Listing<Fruit>
output {
files {
for (fruit in fruits) {
[fruit.name] = fruit.output
}
}
}
@@ -0,0 +1,3 @@
amends "../Fruit.pkl"
name = "Apple 🍎"
@@ -0,0 +1,6 @@
amends "../Fruits.pkl"
fruits {
import("apple.pkl")
import("pineapple.pkl")
}
@@ -0,0 +1,3 @@
amends "../Fruit.pkl"
name = "Pineapple 🍍"