[PR #48] [CLOSED] Update 02_filling_out_a_template.adoc #386

Closed
opened 2025-12-30 01:24:10 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/apple/pkl/pull/48
Author: @KadoBOT
Created: 2/5/2024
Status: Closed

Base: release/0.25Head: patch-1


📝 Commits (1)

  • c2a7774 Update 02_filling_out_a_template.adoc

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc (+1 -1)

📄 Description

fix wrong key being used, which would cause pkl eval to fail:

➜  pkl_poc pkl eval -f json ./parrot.pkl
–– Pkl Error ––
Cannot find property `species` in module `pigeon`.

6 | species {
    ^^^^^^^
at parrot#parrot (file:///Users/ricardoambrogi/Projects/pkl_poc/parrot.pkl, line 6)

Available properties in module `pigeon`:
diet
name
output
taxonomy

106 | text = renderer.renderDocument(value)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at pkl.base#Module.output.text (https://github.com/apple/pkl/blob/0.25.1/stdlib/base.pkl#L106)


🔄 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/48 **Author:** [@KadoBOT](https://github.com/KadoBOT) **Created:** 2/5/2024 **Status:** ❌ Closed **Base:** `release/0.25` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`c2a7774`](https://github.com/apple/pkl/commit/c2a7774c930f446e22a857f049359772348385f6) Update 02_filling_out_a_template.adoc ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc` (+1 -1) </details> ### 📄 Description fix wrong key being used, which would cause pkl eval to fail: ``` ➜ pkl_poc pkl eval -f json ./parrot.pkl –– Pkl Error –– Cannot find property `species` in module `pigeon`. 6 | species { ^^^^^^^ at parrot#parrot (file:///Users/ricardoambrogi/Projects/pkl_poc/parrot.pkl, line 6) Available properties in module `pigeon`: diet name output taxonomy 106 | text = renderer.renderDocument(value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ at pkl.base#Module.output.text (https://github.com/apple/pkl/blob/0.25.1/stdlib/base.pkl#L106) ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 01:24:10 +01:00
adam closed this issue 2025-12-30 01:24:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#386