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.
## 📋 Pull Request Information
**Original PR:** https://github.com/apple/pkl/pull/84
**Author:** [@igmrrf](https://github.com/igmrrf)
**Created:** 2/7/2024
**Status:** ✅ Merged
**Merged:** 2/8/2024
**Merged by:** [@bioball](https://github.com/bioball)
**Base:** `main` ← **Head:** `main`
---
### 📝 Commits (2)
- [`c27ce34`](https://github.com/apple/pkl/commit/c27ce3419cead5294c26383791c172a9e390e612) update 'Loading Modules' example to match config contents
- [`425348b`](https://github.com/apple/pkl/commit/425348b4220ab7fe3325f13a5fe95b42449c86bd) Update index.adoc
### 📊 Changes
**1 file changed** (+4 additions, -4 deletions)
<details>
<summary>View changed files</summary>
📝 `docs/modules/pkl-cli/pages/index.adoc` (+4 -4)
</details>
### 📄 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
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.