mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #121] [MERGED] Introduce Typed objects before referring to them #419
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/121
Author: @hoxell
Created: 2/11/2024
Status: ✅ Merged
Merged: 2/13/2024
Merged by: @holzensp
Base:
main← Head:doc/confusing_note_about_amending_new_properties📝 Commits (3)
bc5e3f6Introduce Typed objects before referring to them694275bUpdate docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc05777d5Apply suggested update to note on amending types📊 Changes
1 file changed (+5 additions, -2 deletions)
View changed files
📝
docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc(+5 -2)📄 Description
Currently, typed objects are only briefly mentioned in the sentence stating that (typed) objects cannot be amended with new properties, only existing ones. This is unnecessarily confusing since all examples up until that point have been concerned with dynamic objects. Since the tutorial goes on to amend a dynamic object with a new property in the next section, a reader who isn't yet aware there are two types of objects might be confused by what seems to be a contradiction.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.