Skip to content

Commit d489d96

Browse files
authored
Fix link to Static Types section (#1565)
1 parent 74d51d8 commit d489d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/polymorphism.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ A `type` key is added to the resulting JSON object as a _discriminator_.
159159

160160
<!--- TEST -->
161161

162-
Pay attention to the small, but very important detail in the above example that is related to [Static types][#static-types]:
162+
Pay attention to the small, but very important detail in the above example that is related to [Static types](#static-types):
163163
the `val data` property has a compile-time type of `Project`, even though its run-time type is `OwnedProject`.
164164
When serializing polymorphic class hierarchies you must ensure that the compile-time type of the serialized object
165165
is a polymorphic one, not a concrete one.

0 commit comments

Comments
 (0)