mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #84] [MERGED] update 'Loading Modules' example to match config contents #403
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/84
Author: @igmrrf
Created: 2/7/2024
Status: ✅ Merged
Merged: 2/8/2024
Merged by: @bioball
Base:
main← Head:main📝 Commits (2)
c27ce34update 'Loading Modules' example to match config contents425348bUpdate index.adoc📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
docs/modules/pkl-cli/pages/index.adoc(+4 -4)📄 Description
The example config content:
bird {
species = "Pigeon"
diet = "Seeds"
}
parrot {
species = "Parrot"
diet = "Berries"
}
But in the 'Loading Modules' example, 'bird.name' was used which in most cases will return an error for those following;
–– Pkl Error ––
Cannot find property name in object of type Dynamic.
1 | bird.name
^^^^^^^^^
at (repl:pkl1)
Available properties:
default
diet
species
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.