Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit b7f59d9

Browse files
committed
Added a note for the parent mapping feature
1 parent 5527495 commit b7f59d9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bundles/routing_auto/introduction.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,13 @@ follows::
235235
After persisting this object, the route will be created. Of course, you need to make
236236
the properties editable and then you have a fully working routing system.
237237

238+
.. note::
239+
240+
Any mapping applied to an object will also apply to subclasses of that
241+
object. So for example, if you have an documents of types ``ContactPage``
242+
and ``Page`` which both extend ``AbstractPage`` you can map
243+
``AbstractPage`` to have the same mapping apply to both documents.
244+
238245
Provided Providers and Action
239246
-----------------------------
240247

0 commit comments

Comments
 (0)