mirror of
https://github.com/apple/pkl.git
synced 2026-03-22 17:19:13 +01:00
Update docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc
Co-authored-by: Philip K.F. Hölzenspies <holzensp@gmail.com>
This commit is contained in:
committed by
Philip K.F. Hölzenspies
parent
8c254a9976
commit
7d9603afd7
@@ -62,7 +62,7 @@ parrot {
|
||||
====
|
||||
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.
|
||||
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 a typed object.
|
||||
There, you see that amending _never changes the type_ of the object.
|
||||
====
|
||||
|
||||
You can also amend nested objects.
|
||||
|
||||
Reference in New Issue
Block a user