Skip to content

Commit 3255b27

Browse files
author
Vlad Balin
committed
Added the reference to the article
1 parent 8a421ea commit 3255b27

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/chapters/record.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ All nested records and collections are *aggregated* by default and behave as int
372372
- They are validated as part of the record.
373373
- They are serialized as nested JSON.
374374

375+
The nature of aggregation relationship in OO is explained in this [article](https://medium.com/@gaperton/nestedtypes-2-0-meet-an-aggregation-and-the-rest-of-oo-animals-a9fca7c36ecf).
376+
375377
### `attrDef` : RecordOrCollection
376378

377379
Aggregated record or collection. Represented as nested object or array in record's JSON. Aggregated members are owned by the record and treated as its _integral part_ (recursively created, cloned, serialized, validated, and disposed).

docs/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ <h2 id="nested-records-and-collections">Nested records and collections</h2>
507507
<li>They are validated as part of the record.</li>
508508
<li>They are serialized as nested JSON.</li>
509509
</ul>
510+
<p>The nature of aggregation relationship in OO is explained in this <a href="https://medium.com/@gaperton/nestedtypes-2-0-meet-an-aggregation-and-the-rest-of-oo-animals-a9fca7c36ecf">article</a>.</p>
510511
<h3 id="-attrdef-recordorcollection"><code>attrDef</code> : RecordOrCollection</h3>
511512
<p>Aggregated record or collection. Represented as nested object or array in record&#39;s JSON. Aggregated members are owned by the record and treated as its <em>integral part</em> (recursively created, cloned, serialized, validated, and disposed).
512513
One object can have single owner. The record with its aggregated attributes forms an <em>aggregation tree</em>.</p>

0 commit comments

Comments
 (0)