From f2470f3e85a2911ca3664bc061f3b99498e640e6 Mon Sep 17 00:00:00 2001 From: Hoxell <9694402+hoxell@users.noreply.github.com> Date: Tue, 13 Feb 2024 20:28:19 +0100 Subject: [PATCH] Apply suggested update to note on amending types --- .../language-tutorial/pages/02_filling_out_a_template.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc b/docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc index 3358b028..fd2f98f4 100644 --- a/docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc +++ b/docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc @@ -60,7 +60,10 @@ parrot { [NOTE] ==== -So far, we have only worked with link:{uri-stdlib-Dynamic}[Dynamic] objects. The other type available to us is link:{uri-stdlib-Typed}[Typed] objects. _Amending_ allows us to override, amend, and add new properties to a dynamic object, but a typed object will only let us amend or override existing properties, not add entirely new ones. +So far, you have only worked with link:{uri-stdlib-Dynamic}[Dynamic] objects. +Pkl also offers link:{uri-stdlib-Typed}[Typed] objects. +_Amending_ allows you to override, amend, and add new properties to a dynamic object. +Typed objects will only let you amend or override existing properties, not add entirely new ones. The xref:03_writing_a_template.adoc[next part of the tutorial] discusses types in more detail. There, you see that amending _never changes the type_ of the object. ====