marazt / object-mapper

ObjectMapper is a class for automatic object mapping in Python
MIT License
102 stars 28 forks source link

Problem with example #15

Closed ruimaciel closed 5 years ago

ruimaciel commented 5 years ago

Example "2. Mapping with defined mapping functions" has an inconsistency problem. It starts by declaring class B with attribute full_name but afterwards the example only refers to B.name. From the context it appears that B.name is indeed used to store the full name, which indicates that there is a naming inconsistency in the examples.

marazt commented 5 years ago

Hi. I'll check it. Thanks.